Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Two "basic" operations on GridCtrl
Re: Two "basic" operations on GridCtrl [message #21125 is a reply to message #21115] |
Mon, 04 May 2009 12:52   |
kbyte
Messages: 87 Registered: July 2008
|
Member |
|
|
Here is the whole story:
My application must be international as much as possible.
The main window of the app will show a dbgrid control in the whole main window client area. It is the user that populates this grid. It can choose to load it using a local SQlite database table, It can load it with a CSV file, XML file, etc. So I (the programmer) don’t know the type of the data being loaded (just for the local database). So I am aware of the data types and I load dbgrid control with the Add method passing it strings for all the columns.
Once loaded, I want to give the chance to the user of sorting the data by clicking on the column header. This works good for strings but not for columns that contain dates and numbers (stored in the dbgrid as string as I said).
So, which is the most easy solve this?
Kim
[Updated on: Mon, 04 May 2009 12:54] Report message to a moderator
|
|
|
 |
|
Two "basic" operations on GridCtrl
By: kbyte on Sun, 26 April 2009 18:27
|
 |
|
Re: Two "basic" operations on GridCtrl
By: unodgs on Sun, 26 April 2009 20:46
|
 |
|
Re: Two "basic" operations on GridCtrl
By: kbyte on Sun, 26 April 2009 21:17
|
 |
|
Re: Two "basic" operations on GridCtrl
By: unodgs on Sun, 26 April 2009 21:43
|
 |
|
Re: Two "basic" operations on GridCtrl
By: kbyte on Mon, 27 April 2009 00:04
|
 |
|
Re: Two "basic" operations on GridCtrl
By: kbyte on Mon, 27 April 2009 00:35
|
 |
|
Re: Two "basic" operations on GridCtrl
By: unodgs on Mon, 27 April 2009 08:47
|
 |
|
Re: Two "basic" operations on GridCtrl
By: kbyte on Sat, 02 May 2009 12:14
|
 |
|
Re: Two "basic" operations on GridCtrl
By: unodgs on Mon, 04 May 2009 09:39
|
 |
|
Re: Two "basic" operations on GridCtrl
By: kbyte on Mon, 04 May 2009 12:52
|
 |
|
Re: Two "basic" operations on GridCtrl
By: unodgs on Mon, 04 May 2009 13:37
|
 |
|
Re: Two "basic" operations on GridCtrl
By: kbyte on Mon, 04 May 2009 14:02
|
 |
|
Re: Two "basic" operations on GridCtrl
By: unodgs on Mon, 04 May 2009 15:22
|
 |
|
Re: Two "basic" operations on GridCtrl
By: kbyte on Mon, 04 May 2009 15:52
|
 |
|
Re: Two "basic" operations on GridCtrl
|
Goto Forum:
Current Time: Sat Jul 19 05:00:06 CEST 2025
Total time taken to generate the page: 0.03782 seconds
|