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

Error adding rows

Thread ID:





148819 Nov 5,2019 03:32 PM UTC Nov 6,2019 10:01 AM UTC ASP.NET MVC 1
Tags: Grid
Pedro Martínez
Asked On November 5, 2019 03:32 PM UTC


If you add rows (initially the grid does not have rows) in client side by javascript, the boolean columns don't shows the checkbox. 


Manivannan Padmanaban [Syncfusion]
Replied On November 6, 2019 10:01 AM UTC

Hi Pedro,  

Greetings from Syncfusion Support. 

The reported issue will occur, because the column type is not updated properly. By default the grid column type is updated from the first record value and based on the type the Boolean values are displayed as checkbox. But in your case, you have added the new records to the emptied grid so the column type is not updated. Hence, the Boolean value is displayed as “true” Or “false” instead of checkbox. 

To avoid the reported issue, we suggest you to define column type in the grid column definition. Refer the below code example, 

                            .Columns(col => 

Kindly get back to us, if you need further assistance. We will be happy to assist you. 
Manivannan Padmanaban. 


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