Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
Select many rows. Only works first time. V11.1 WinGrid
posted

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

Parents
No Data
Reply
  • 365
    posted

    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)!

Children