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.
Unfortunately, activation email could not send to your email. Please try again.

cell & input keyboard

Thread ID:

Created:

Updated:

Platform:

Replies:

92348 Jan 7,2010 12:46 PM Jan 14,2010 12:14 AM WPF 3
loading
Tags: GridControl
Puthirak OM
Asked On January 7, 2010 12:46 PM

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

Dhinesh Pandiyan M [Syncfusion]
Replied On January 12, 2010 07:53 AM

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

Puthirak OM
Replied On January 13, 2010 05:23 AM

Hi,

It works.

Thanks,
P.OM
Reportive SA

Mohamed Suhaib Fahad A. [Syncfusion]
Replied On January 14, 2010 12:14 AM

Hi Puthirak,

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

Thanks,
Fahad

CONFIRMATION

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.

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.

;