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

[Solved] Seperate Insert Button for Grid

2 Answers 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lee
Top achievements
Rank 1
Lee asked on 24 Jul 2011, 08:40 PM
What I would like to do is have a button (not on the toolbar) that could be used to trigger the Insert command (or add new row) on the grid.

Is this possible, or will I have to extend the functionality of the grid to do this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 25 Jul 2011, 07:17 AM
Hi Lee Vaughn,

You may use addRow method to show the grid's insert item.

$("#Grid").data("tGrid").addRow();

All the best,
Rosen
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Lee
Top achievements
Rank 1
answered on 26 Jul 2011, 04:19 AM
Thanks! That was the answer i was looking for. It looks like, using that, I can access all the internal methods of the grid too... wonderful!
Tags
Grid
Asked by
Lee
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Lee
Top achievements
Rank 1
Share this question
or