This is a migrated thread and some comments may be shown as answers.

Adding new rows programatically on client

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Laura
Top achievements
Rank 1
Laura asked on 17 Dec 2008, 05:20 PM
This is my scenario:

I have a radsplitter, with a top and bottom pane. The top pane has a grid of all content available. The bottom pane has a grid where the user will build his package from available content. Kind of like drag and drop, but not using drag and drop. I have a clientselectcolumn and when the user selects a row on the top, I want to add this row(with different columns) to the grid on the bottom. I may also add drag and drop, but for now, I only want to do it with the selected row.

How do I add a row programatically through javascirpt to a grid? I am not going to save the grid to the database until the user clicks save, so the row is only added to the grid, not saved to the table in a database.

Thanks,
Laura

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 22 Dec 2008, 08:59 AM
Hi Laura,

Please refer to the following online example which represents Related Grids scenario. Review the provided application and let us know if this helps.

Greetings,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Laura
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or