[Infragistics]Tacho
answered on Jan 15, 2018 1:33 PM
Hello Steve,
Thank you for the screenshot you have provided.
1. In order to add a new row to the WebDataGrid, I can suggest you use either the built-in add new row interface or by doing it client-side through JavaScript.
a) Add new row with built-in interface will require the following behaviors for the WebDataGrid:
// This will commit the new row when it gets unfocused.
b) Add new row client-side through JavaScript:
2. In order to add a new column to the WebDataGrid, you can simply create a new UnboundField (or BoundDataField for existing underlying properties of the DataItems) instance and add it to the Columns collection of the WebDataGrid.
For more details on adding rows and columns to the WebDataGrid, I can suggest you take a look at the following samples and topics:Row AddingColumn AddingUnboundColumn sample
I have attached a sample application that demonstrates the approaches from above. (Please note that in order to run it, you may need to modify the build version of the registered assemblies.)If you have any questions, please let me know.