hi
i want to set up a group by row before actually adding rows.
i have a grid with 3 columns:' feld', 'operator', ' value'
i want to set up ' field' column as group by, but i want to allow user adding new row with new ' field' or exist 'field'. the reason i want that is so that user will see all the 'operators' and 'values' of certain 'field', under that 'field'
i think i cant do it with group by (after grouping column i cant add new row). is there any alternative i can use?
Thanks, Michal
Hi Michal,
I think the grid turns off the adding of rows when grouping is on, because the grid cannot know how to create a row within a group. It won't know what fields to fill in and with what values to make the row belong to that group.
What I would do is add a button to the form, maybe on a toolbar and add a row to the underlying data source that already has certain fields filled in based on the current ActiveRow in the grid.