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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Editing Dialog

Thread ID:

Created:

Updated:

Platform:

Replies:

115995 Mar 12,2014 04:21 PM UTC Mar 13,2014 10:19 AM UTC JavaScript 1
loading
Tags: ejGrid
Andrew Oakeson
Asked On March 12, 2014 04:21 PM UTC

I am trying to implement this feature using the dialog:

http://js.syncfusion.com/demos/#!/azure/grid/Editing/Dialog on local data

For some reason, anything I try when I click the edit button - It doesn't pull up the modal window to edit one row, but it pulls up an edit window to modify all the rows instead.  Its one giant list of text boxes and etc, when in reality I only need one row.  I didnt find anywhere in your code example that states which row is clicked.  Any help would be appreciated. 

Madhu Sudhanan P [Syncfusion]
Replied On March 13, 2014 10:19 AM UTC

 

Hi Andrew,

 

Please find the response.

 

Query:

 

To resolve this issue please set the “key” property as “true” for primary column while initializing the grid.

 

 Please refer the below code snippet.

 

columns: [

{ field: "EmployeeID", headerText: 'Employee ID',key:true, textAlign: ej.textAlign.Right, width: 75 },

{ field: "FirstName", headerText: 'First Name', textAlign: ej.textAlign.Left, width: 100 },

{ field: "Title", headerText: 'Title', textAlign: ej.textAlign.Left, width: 120 },

{field: "City", headerText: 'City', textAlign: ej.textAlign.Left, width: 100 },

{ field: "Country", headerText: 'Country', textAlign: ej.textAlign.Left, width: 100 }

                ]

 

For your convenience we have created a simple sample, please find the sample from the attachment.

 

Please let us know if you have any queries.

 

Regards,

Madhu Sudhanan. P


Attachment: F115995_445bb19f.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;