Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
kbyte is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl.AsQtf bug?
Next Topic: LineEdit font bug
Goto Forum:
  


Current Time: Sat Jul 19 05:00:06 CEST 2025

Total time taken to generate the page: 0.03782 seconds