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
1205
Reading/Detecting Rows In A Group [WinGrid]
posted

After a user expands a group by clicking the + symbol, can I read the embedded rows within the selected group. 

Simple example. Fifty US state groups with each state group containing cities [rows] with populations over 100K. I need to be able to read the rows of a selected state.

Can I incorporate a checkbox at the group level to set checkboxes within a selected Group to true?

Another question. Clickiing on the rowselector i can select multiple rows within a group by using the ctrl/shift key. How can these selected records be read?

Any insight would be helpful.

Thank you.

  • 71886
    Offline posted

    Hello 2001plus,

    I am checking about the progress of this issue. Please let me know If you need any further assistance on this.

  • 469350
    Offline posted

    If you are referring to OutlookGroupBy, then you could read the child rows of any particular GroupByRow by access the Rows property of that UltraGridGroupByRow.

    Note that UltraGridGroupByRow derives from UltraGridRow. So depending on how you get a reference to the GroupByRow, you may have to cast it to an UltraGridGroupByRow in order to access the Rows property.

  • 71886
    Offline posted

    Hello,

    I am not sure about your scenario. Are you saying that you have hierarchical WinGrid control? What are these groups you are talking about? Could you please try posting a screenshot, if possible, for me.

    As to your second question - these selected rows could be read from:

          ultraGrid1.Selected.Rows

    I will be waiting for your feedback and please meanwhile feel free to let me know if a question about our toolset comes up on your mind.