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
3455
Tab & Shift + Tab navigation through WinGridCells
posted

Hi,

When the Tab key is pressed the active cell change to its rightmost cell of the current cell. And this process is reversed when Shift + Tab is pressed.

In my application the some of the cells are not editable, so while navigating with Tab and Shift + Tab, if the activating cell is found to non editable then is it possible to move the focus to the next cell?

How can we do this in simplest way.

Regards,

Ceaser

Parents
No Data
Reply
  • 20872
    Offline posted

    Hello Ceaser,

     

    It is possible to do that with the TabStop property of the cell. If you know which cells are exactly non editable, you should set their TabStop property to false. You can use this code snippet in InitializeLayout event of your grid:

     

    ultraGrid1.DisplayLayout.Rows[Index].Cells[Index].TabStop = DefaultableBoolean.False;

     

    Please let me know if you need further assistance.

     

    Sincerely,

    Danko Valkov

    Developer Support Engineer

    Infragistics, Inc.

     

Children