TrueDBGrid For .NET Multi Select Property

yraykar

Freshman
Joined
Oct 13, 2003
Messages
42
Hello Everyone,

I am using a TrueDBGrid For .NET as the grid control. The multiselect property when set to extended should allow the user to select a row when he clicks on any cell in the row. Though the rowselector points to appropriate row indicating the row is selected, it is not getting added to the selected rows collection.

If anyone has faced the same problem pl help me.

I cannot change the grid as it is a part of requirement that i use this grid.

May not be a right forum but help me

Please help me

Regards

YRaykar
 
Re to Multi select

Guys,

I got it. Add the bookmark of the current row to selectedrowscollection.

truedbgrid1.selectedrows.add(truedbgrid1.bookmark)

Add the e.cancel=true to selchange event

And it works.
 
Back
Top