Dear all,
I am trying to display a list of user settings in an UltraWinGrid. What I require is two level of nodes, section and sub-section, under which there are rows of the same options (which involves a combo box and check boxes). Basically I am needing to combine an UltraTree and an UltraWinGrid.
By setting the ViewStyleBand to be OutlookGroupby I am able to get the desired look, however I'd like to prevent the user from altering the grouping i.e. hide the bit to which you drag the columns and I'd also like to have a 'summary' row for each subsection and section to allow the user to set all the check boxes\combo selections within that region. The options within the combo box are always the same as are the selection of checkboxes available.
I think now I may be barking up the wrong tree and that what I want to do is not possible, but using an UltraTree produces ugly looking results by comparison. The summary functionality whilst good does not, as far as I can see, allow me to put in a check box or a combo box.
Clearly what I want is possible, but how?
Thanks in advance.
Hello there,
You could get rid of the GroupBy area by setting the Hidden property of the GroupByBox to true, like this:
ultraGrid1.DisplayLayout.GroupByBox = true;
As to the summaries and the setting of all checkboxes of the combo I need a screenshot which illustrates it.
Thank you in advance!
Here is the other image, I forgot to attach
Thanks Boris, I knew I was missing something simple with hiding the GroupByBox bit.
I've attached screenshots of what I now currently have, and a photoshopped version of what I'd like. This has just one column header at the very top of the ultragrid and the rest is basically like the summary row. But for each subsection (or if no subsections are presented for the section) that summary row allows the user to toggle all the check boxes for that column in that sub/section (and reflects the checked status of that column. And similarly for the combobox.
I hope this clears it up.