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 » Date pasted in GridCtrl saved in sqlite. Problem and solution
Re: Date pasted in GridCtrl saved in sqlite. Problem and solution [message #17838 is a reply to message #17813] Sat, 30 August 2008 15:14 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3437
Registered: August 2008
Senior Veteran
Hello amrein

I do not know if calling it a bug, but perhaps it is an improvement.
When you add a column, for example:

myGrid.AddColumn(BIRTHDAY, t_("Birthday")).Edit(birthdate);

GridCtrl does not know the type, so it can only manage the data as Value(String).

Perhaps it would be possible to do a kind of SQLGridCtrl class that:
- You could include the database table, so it would know about the type of every column
- It would include inside the functions LoadTable, InsertRow, UpdateRow and RemoveRow.

Well, a little soon for me and perhaps it is a thing that unodgs has to decide.

Best regards


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unicode character paste in GridCtrl
Next Topic: Hiding in GridCtrl. Special case.
Goto Forum:
  


Current Time: Fri Jul 18 07:32:29 CEST 2025

Total time taken to generate the page: 0.04009 seconds