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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is there a way to limit what fields can be added, in the normal editmode

Thread ID:





121274 Nov 25,2015 03:19 PM UTC Nov 26,2015 06:06 AM UTC JavaScript 1
Tags: ejGrid
Mike Rosenberger
Asked On November 25, 2015 03:19 PM UTC

                dataSource: data.Weather,
                editSettings: {
                    allowEditing: true,
                    allowAdding: true,
                    allowDeleting: true,
                    editMode: ej.Grid.EditMode.Normal,
                toolbarSettings: { showToolbar: true, toolbarItems: [ej.Grid.ToolBarItems.Add ,ej.Grid.ToolBarItems.Update, ej.Grid.ToolBarItems.Cancel, ej.Grid.ToolBarItems.Delete] },
                columns: [
                    { field: "WeatherId", headerText: "Id", visible: false },
                    { field: "ProjectVisionId", headerText: "Project Id", visible: false },
                    { field: "WeatherMain", headerText: "Weather", allowEditing: false },
                    { field: "WeatherDescription", headerText: "Description" },
                    { field: "Temperature", headerText: "Temperature", editType: ej.Grid.EditingType.Numeric },
                    { field: "Humidity", headerText: "Humidity", allowEditing: false },
                    { field: "WindSpeed", headerText: "Wind Speed", allowEditing: false },
                    { field: "WindDirection", headerText: "Wind Direction", allowEditing: false },
                    { field: "UserInput", headerText: "User Input", editType: ej.Grid.EditingType.Boolean, type: "boolean", allowEditing: false, allowAdding: false },
                    { field: "DateTime", headerText: "Time", format: "{0:hh:mm tt}" }

When i use the code above it limits the Editing of the fields that i don't want to be edited, but i am in the need of limiting what fields can be added by the user.  So the same fields i have "allowEditing : false" i don't want to be in the allowAdding process. 

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On November 26, 2015 06:06 AM UTC

Hi Mike,

We understand that you would like to disable the columns with allowEditing set to “false” while adding the record to the Grid. We have included this feature in, and we suggest that you upgrade to the latest version of Essential Studio to avail this feature.

Please follow the below steps to upgrade the Essential Studio.

1)      Download and install the Essential Studio v13.3.0.12 from the below link. 


2)       Replace the Syncfusion dlls, scripts, and css in your project from the following location.

            Scripts and Css: C:\Program Files (x86)\Syncfusion\Essential Studio\XX.X.X.XX\JavaScript\assets
            Dlls: C:\Program Files (x86)\Syncfusion\Essential Studio\ XX.X.X.XX \Assemblies

Here XX.X.X.XX denotes the product version(

And also after upgrading please ensure to clear the bin folder and browser cache to avoid accidental reference of the old assemblies and scripts/CSS.

Seeni Sakthi Kumar S.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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