Can i make ReportControl like listview? |
Post Reply |
Author | |
progame
Newbie Joined: 15 July 2004 Location: China Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 09 March 2006 at 9:16pm |
i need sorting, column drag.. so i must use RC, but in my case, this control used to choose items, so if RC can have checkbox in every row, it's easy for user to select , but if i let hascheckbox to be true for the first column, if user drag this column, the checkbox is not in the header of row.
so how can i do to make RC likeListView has CheckBox in the first column? |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
You can firstly setup your first column as you need it -- with check box, etc, and then just make this column not draggable but setting Column's property AllowDrag to False (as well as AllowRemove if necessary). -- WBR, Serge |
|
progame
Newbie Joined: 15 July 2004 Location: China Status: Offline Points: 20 |
Post Options
Thanks(0)
|
but other columns can drag to the first. so the checkbox column can't always in it/s position. |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
I would suggest you to disable "Allow Columns Reorder" checkbox if only you hadn't need other columns gragging...
|
|
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 |