SetSelected() - what's the different |
Post Reply |
Author | ||
Michl
Senior Member Joined: 14 September 2007 Status: Offline Points: 138 |
Post Options
Thanks(0)
Posted: 06 August 2014 at 4:09am |
|
Hello
A record class and a row class has the property SetSelected(). In row a selection works simple. But how works SetSelected() of a record?? Must I call Populate() to take effect()? Which property is preferred? Thanks |
||
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 312 |
Post Options
Thanks(0)
|
|
Hello Michl,
While a row represents a visual object which you can select or perform any other visual modifications, a record is a data object for a row, meaning it describes a state of a row object, and it was not designed to manipulate a row directly. Even you you set the Selected property of a record to TRUE it just will set its internal Selected value to TRUE without any effect, so the only proper way to select a row is to use its Selected property. Please let me know if this information was helpful. Thank you. Regards, Alexander Stoyan |
||
Michl
Senior Member Joined: 14 September 2007 Status: Offline Points: 138 |
Post Options
Thanks(0)
|
|
Thanks
That's clear
But when I can use this property and which method evaluates this property (eg. Populate)??? if I have some records and like initially selected this records/rows. Is it enough to set this property in record, add record and populate? It seems not. But for which case I can use this property else?? On other hand. I would nice if this state is modified if user changes the selection of records. So it is possible to iterate rows or records. Sometimes records easier to iterate because they are flat. Thanks |
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |