Anyone know how to use the gridview to add data unbound (using rows.add). And will it work for adding into a hierarchial grid?
Thanks
Adrian
1 Answer, 1 is accepted
0
Jack
Telerik team
answered on 03 Oct 2007, 01:27 PM
Hi Adrian,
Thank you for this question.
Currently, the RadGridView does not support unbound mode. We will think about implementing this feature in our future releases.
You can add rows through code using Rows.Add method when the RadGridView is bound to a data source. This method takes an object array as an input parameter whose values will be used to set the values in the row.
Please consult the following code, illustrating adding two rows to the RadGridView: