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

Checkboxes in MVC grid

Thread ID:





144688 May 17,2019 01:49 PM UTC May 22,2019 04:16 PM UTC ASP.NET MVC - EJ 2 3
Tags: Grid
Asked On May 17, 2019 01:49 PM UTC


I want to have a checkbox in a grid. When I click on my checkbox to edit it becomes "false". I want to set a cross. Please provide a example according to 

.Edit(new { @params = new { checked=false } })
Doesnt seem to work. 

Hariharan J V [Syncfusion]
Replied On May 20, 2019 09:53 AM UTC

Hi Andreas, 
Thanks for contacting Syncfusion support. 
We suspect that you want to change the “false” text while editing the checkbox column. So we suggest to set column editType as “booleanedit” to achieve this requirement. Please refer the following code snippet, 
If we misunderstood your query please share more details about your requirement. This will help us to provide the better solution for your requirement as early as possible. 

Replied On May 20, 2019 10:45 AM UTC

Thank you. Can u please update documentation. Documentation is misisng this:

Cell edit type and its params

The EditType of Column is used to define the editor component for any particular column.

You can set the EditType based on data type of the column.

  • NumericTextBox component for integers, double, and decimal data types.

  • TextBox component for string data type.

  • DropDownList component to show all unique values related to that field.

  • CheckBox component for boolean data type.

  • DatePicker component for date data type.

  • DateTimePicker component for date time data type.

Hariharan J V [Syncfusion]
Replied On May 22, 2019 04:16 PM UTC

Hi Andreas,

Thanks for your suggestion, we have already logged documentation task for this and it will be refreshed online in any of our upcoming documentation release.



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

Live Chat Icon For mobile
Live Chat Icon