I'm trying a concept where I want a DynamicForm next to the records of a ListGrid. The ListGrid contains a text column that shows a comma separated list of values. If I select the row, I need to show a form with each possible value as check box. Every check box that I click needs to add/remove a value to/from the comma separated list of values. The goal is to avoid as many click actions as possible (it's needed to add product specifications fast).
I tried a SelectItem as editor type (with multiple: true), but I need a click to close the editor and another click outside the row to save the record. I also have difficulties converting the single comma separated list of values into multiple values for the SelectItem and after saving, have it convert it back to the single list of values column.
I have a construction with a HLayout including the grid and form and that is the best so far, but it has a disadvantage: I'm including grids inside another component and that component expects a "grid like" component. Now, I'm creating methods with similar names inside the HLayout based component that make it act like a grid. This probably is the wrong approach?!
Hopefully this makes any sense and can someone point me into the right (or better) direction.
By the way, I need to add a comment that the grid component I already have uses extra gridComponents (in my case an extra toolbar in the top). As far as I know, these components can only be stacked vertically and by no means in the same "row" as the records component (the grid body and - if applicable - the frozen body).
I tried a SelectItem as editor type (with multiple: true), but I need a click to close the editor and another click outside the row to save the record. I also have difficulties converting the single comma separated list of values into multiple values for the SelectItem and after saving, have it convert it back to the single list of values column.
I have a construction with a HLayout including the grid and form and that is the best so far, but it has a disadvantage: I'm including grids inside another component and that component expects a "grid like" component. Now, I'm creating methods with similar names inside the HLayout based component that make it act like a grid. This probably is the wrong approach?!
Hopefully this makes any sense and can someone point me into the right (or better) direction.
By the way, I need to add a comment that the grid component I already have uses extra gridComponents (in my case an extra toolbar in the top). As far as I know, these components can only be stacked vertically and by no means in the same "row" as the records component (the grid body and - if applicable - the frozen body).
Comment