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
close icon

Change new row template

Hi,

 I'd like to change how the new row template looks like. Let say that I just want to have first column editable and the rest in the readonly mode. How I can achieve something like this?

Best regards
Michal Ogluszka

1 Reply

GA Gobinath A Syncfusion Team January 31, 2013 12:44 PM UTC

Hi Michal,

Thanks for using Syncfusion products.

We have analyzed your query  and you can achieve your requirement by using following code snippet.

 Code snippet[XAML]:

 <syncfusion:GridDataVisibleColumn  AllowSort="True" MappingName="CustomerName" HeaderText="CustomerName">

                    <syncfusion:GridDataVisibleColumn.ColumnStyle>

                        <syncfusion:GridDataColumnStyle ReadOnly="True"/>

                    </syncfusion:GridDataVisibleColumn.ColumnStyle>

</syncfusion:GridDataVisibleColumn>

 

We have prepared a sample based on your requirement and you can find the sample in the

following location.

Sample: 106856.zip

Please let us know if you have any concerns.

Regards,

Gobinath A.


Loader.
Live Chat Icon For mobile
Up arrow icon