![]() |
Is there an Id field? |
Post Reply
|
| Author | |
elmsoftware
Groupie
Joined: 21 November 2006 Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Topic: Is there an Id field?Posted: 10 January 2007 at 9:18pm |
|
I am looking to convert my current grids in my application to the Xtreme Report Control.
Inquiry
In my current grid control, when loading records from a database table, I am able to assign a 'Key' or 'ItemData' value to each row in the grid.
I looked for this in the 'Online Help' but I did not see this.
What is the recommended way of assigning a unique Id to each row in the Xtreme Report Control?
Currently, I make the first column the holder of the 'Id' and make this column invisible.
All the best,
John Lueders
Elm Software
|
|
![]() |
|
cmaxmedia
Groupie
Joined: 22 April 2006 Location: Austria Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 January 2007 at 12:58pm |
|
Hi John,
i am using the Row.Record.Tag Property. Try This
|
|
![]() |
|
elmsoftware
Groupie
Joined: 21 November 2006 Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 January 2007 at 2:01pm |
|
Thank you for your feedback.
I would like to recommend to CodeJock to implement an 'Id' property to uniquely identify rows in their ReportControl. Similar to the 'Id' property in their PropertyGrid control.
All the best,
John Lueders
Elm Software
|
|
![]() |
|
cmaxmedia
Groupie
Joined: 22 April 2006 Location: Austria Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 January 2007 at 3:10pm |
|
Hi John,
What's about the Record.Row.Index property? I do not use this Prop because i prefer alpha-nums Matchkeys.
Kind regards.
|
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 January 2007 at 5:48pm |
|
Do not relay on Row indexes. Note that Rows are recreated frequently.
Better to use Record.Tag property. Or at least Record index. -- WBR, Serge |
|
![]() |
|
elmsoftware
Groupie
Joined: 21 November 2006 Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 January 2007 at 10:09am |
|
Much appreciated.
All the best,
John Lueders
Elm Software
|
|
![]() |
|
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 |