Have modified the grid in the designer to allow multiple row selection. However this ONLY works the first time. If I try to click on subsequent rows then I only get to select a single row. Have also added code in the InitializeLayout event. Row selector is visable. Added MaxSelectedRows (but this made no difference).
e.Layout.Bands(0).Override.SelectTypeRow =SelectType.Extended
e.Layout.Bands(0).Override.MaxSelectedRows = 100
Hi Roundhouse_sw,
If you have any further questions that I may assist you with regarding this issue, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
Yep. The control is workign fine (in a test project). It is related to the 'code' added for the grid (in this one project). I had tried to isolate various events (but had not got any further). I've now located the event which has knocked out the 'multi row select' . It's
AfterRowActivate
May need to add further logic (perhaps test to see if the current cell is the row selector)!
Is this issue produced in an isolated sample? If not then I believe that it may be possible that there is other code in your project that is affecting this behavior.
I have constructed and attached a sample which demonstrates a simple approach where expected behavior is produced.
Essentially, setting the selection type and displaying the row selectors will be sufficient for producing the intended behavior.
Please let me know if you have any further questions regarding this issue.