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

cell & input keyboard

Hi,

I use a GridControl for which i set these options:

grid.Model.TableStyle.ReadOnly = true;
grid.Model.TableStyle.Enabled = false;

So each cell cannot be edited and when a cell is selected, the underlying text is not selected. That's what i want.

But by doing that, i disabled the keyboard and i cannot move the current cell selection with the direction keys.

Is there a way to resolve this predicament?

Thanks,
P.OM
Reportive SA

3 Replies

DP Dhinesh Pandiyan M Syncfusion Team January 12, 2010 12:53 PM UTC

Hi Puthirak,

Thanks for using Syncfusion products.

We have another property CellType. We can disable the selection and edit option and it enables the navigation by setting the value as "Static" in GridControl. Use the below code

grid.Model.TableStyle.CellType = "Static";

Please download the sample from the below location.

http://www.syncfusion.com/uploads/redirect.aspx?file=DisableEditAndSelectionGridControl_a9358e13.zip&team=development

Let us know if you have any questions.

With Regards,
Dhinesh Pandiyan


PO Puthirak OM January 13, 2010 10:23 AM UTC

Hi,

It works.

Thanks,
P.OM
Reportive SA


MS Mohamed Suhaib Fahad A. Syncfusion Team January 14, 2010 05:14 AM UTC

Hi Puthirak,

Thanks for the details. You can update us if you have anything else.

Thanks,
Fahad

Loader.
Live Chat Icon For mobile
Up arrow icon