Hi everyone i read in the documentation that is possible to make the grid editable, but it requires the record to be already present in the grid, i need to create the record directly in the grid. Is there a way to achieve this?
Hi!
Check out an example in our online demo application: UI Samples :: Data Grid Editor Actions
Dmitriy
just another question in my datagrid component i add some columns using “addComponentColumn” and i need to iterate all over the rows and print every value since this new columns are not in the entity class of the grid i cannot referentiate them. Any solution? thanks
There’s no way to do that through the DataGrid
. DataGrid
or DataGrid
’s Column don’t have accessors to the data in the cells, because Grid is designed to work with a potentially very large number of rows. You need to read the data from the backing data source instead or save your data when adding.
Regards,
Dmitriy