make read only Particlaur cell


hi,

        here, My add mode all cell or row must be editable. But, The edit mode only one  or particular cell is editable All other cell or row will be read only , so please help.....


thanks & regards..
tamil.p  

1 Reply

SS Seeni Sakthi Kumar Seeni Raj Syncfusion Team March 28, 2017 07:07 AM UTC

Hi Tamil, 
 
We could see you would like to prevent the particular cells from editing. This can be achieved using the allow-editing property of the Grid e-columns. If you disabled this property, respective column will not be editable. Refer to the following code example and API References.  
 
<ej-grid id="FlatGrid" datasource="ViewBag.child1" allow-paging="true"> 
    <e-columns> 
        <e-column field="OrderID" header-text="Order ID" is-primary-key="true"></e-column> 
        <e-column field="CustomerID" allow-editing="false" header-text="Customer ID"></e-column> 
        <e-column field="EmployeeID" allow-editing="false" header-text="Employee ID" text-align="Left" width="75"></e-column> 
        <e-column field="OrderDate" header-text="Order Date" format="{0:MM/dd/yyyy}" text-align="Left" width="75"></e-column> 
    </e-columns> 
</ej-grid> 
 
 
Regards,  
Seeni Sakthi Kumar S. 


Loader.
Up arrow icon