Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Data Type checking for report grid items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Data Type checking for report grid items

 Post Reply Post Reply
Author
Message
creatman View Drop Down
Newbie
Newbie
Avatar

Joined: 17 October 2006
Location: Russian Federation
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote creatman Quote  Post ReplyReply Direct Link To This Post Topic: Data Type checking for report grid items
    Posted: 20 October 2006 at 8:25am
Hello everybody!

I have following problem:  some cells in the same column in my report grid should support special defined type (one type for one cell), i.e. If I input data of different type cell should block this.

For example I have special item of integer data type, thus I cannot input in this item something like "ABCD" or "0.99999".

Do Xtreme ReportControl support item data type checking?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2006 at 5:46pm
Hi,

Yes, there is some type chacking support. Take a look at EditOptions property and a corresponding class properties.

Example:

pColumn->GetEditOptions()->m_dwEditStyle |= ES_NUMBER;


--
WBR,
Serge
Back to Top
jpnascim View Drop Down
Groupie
Groupie
Avatar

Joined: 17 November 2006
Location: Brazil
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpnascim Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2013 at 9:00am
When I attempt doing the above, ALL of the columns in my Report Control becomes constrained to only accept number, even though I only set for one column.

We are currently using version 11.3. Is it a known bug in this version?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.