We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

I want to open gridview in edit mode

previous provided example was not working
its very very urgent requirement

With angular js and mvc

I want to reopen grid row in edit mode; but with scripting

in normal scenarion when we  do mouse click on row of grid we can open that row in edit mode
but i want to reopen gridview first row in edit mode. with programatically using angualr js

Thanks






3 Replies

RU Ragavee U S Syncfusion Team September 3, 2015 05:08 AM UTC

Hi Bharat,

We have analyzed your requirement to edit the first row of the grid programatically. The startEdit method of the grid is used to trigger edit action in grid. Please refer to the following online API reference link for more details.

API reference link: http://docs.syncfusion.com/js/api/ejgrid#methods:startedit

We have created a sample with the above solution, which can be downloaded from the following location.

Sample Link: http://www.syncfusion.com/downloads/support/forum/120123/ze/Sample816710871

In the above sample, we have triggered the edit action using startEdit method in the dataBound event of the grid such that the grid opens in the editMode.

Query: previous provided example was not working

Could you please let us know to which sample/forum you are referring to in your above query? Can you also explain by “not working”, do you mean if the sample is not in runnable state or anything else. Please provide us clear details.

Regards
Ragavee U S


BB Bharat Buddhadev September 3, 2015 05:44 AM UTC

thanks a lot for reply

Now as per your last answer we are to open row in edit mode now programatically now 
I want to fill data in column of every row programatically.

waiting for your quick reply 
we require its urgent. please reply today





RU Ragavee U S Syncfusion Team September 3, 2015 07:32 AM UTC

Hi Bharat,

Query: I want to fill data in column of every row programatically.

We suspect that your requirement is to add record to the grid programatically. The addRecord method of the grid is used to add record dynamically to the grid dataSource. Please refer to the following API reference documentation corresponding to addRecord method.

API Reference link: http://docs.syncfusion.com/js/api/ejgrid#methods:addrecord

If your requirement is to modify the existing column data of every row programatically, we suggest you to use “queryCellInfo” event of the grid. Please refer the below Online links for more information on queryCellInfo event.

http://docs.syncfusion.com/js/api/ejgrid#events:querycellinfo
http://js.syncfusion.com/demos/web/#!/azure/grid/conditionalformatting

Regards
Ragavee U S

Loader.
Live Chat Icon For mobile
Up arrow icon