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 » Retreiving data from sorted GridCtrl
Re: Retreiving data from sorted GridCtrl [message #37601 is a reply to message #37313] Wed, 24 October 2012 21:54 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

Sorry for taking it so long but better late than never Wink
GetCtrl(c) and GetCtrl(r, c) should refer to the same column and row as in Get(c) and GetCtrl(r, c) respectively.
Instead of GetUnsorted and SetUnsorted I added GetRaw(r, c) and SetRaw(r, c, const Value&). In both cases r and c address internal items matrix directly. Also remember that SetRaw only sets the value. It doesn't do anything else so user is responsible for refreshing modified row or particular cell. It also doesn't trigger any grid callbacks.
I hope that those changes satisfy you. If not or there is still something wrong please let me know.
 
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: DropGrid .t file
Next Topic: SetDisplay, which works for column why not for cells ??
Goto Forum:
  


Current Time: Mon Aug 25 13:58:10 CEST 2025

Total time taken to generate the page: 0.06806 seconds