Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2306
Column with style FormattedText
posted

 Hello!

i have a DataTable called dtTables that has a single column=NAME with datatype string and maxlengh=5. I have set the datasource of the grid.DataSource = dtTables;

The style of the column on the grid is set as FormattedText.

If i modify the cell Value in <span style=\"background-color:Yellow;\">hello</span> i see that it is formatted but when i click on another cell i get an error because the grid is going to write that value(which has a a lengh > 5) on the datarow.

How can i avoid that the grid write that value on the datarow?

 

thank you

 

Parents Reply Children
No Data