Page 1 of 1

How do I navigate 10 x 10 cells in a DataGrid Using Buttons?

Posted: Mon Aug 22, 2011 12:28 am
by BarrySumpter
Hi all,

Can't seem to find a way to nagigate a DataGrid with Buttons.
I've got a say 10 x 10 Cells.
I'd like to naigate the dataGrid with button kinda like below:
the - are for positioning the text in this post only.
Try to picture the button positions without the ---

----- up
Left ------ Right ------ Edit
---- Down

Does anyone know how to postition the cell selection using button to navigate?

Thanks in advance

Re: How do I navigate 10 x 10 cells in a DataGrid Using Buttons?

Posted: Mon Aug 22, 2011 3:31 am
by BarrySumpter

Code: Select all

 
--   dgHilitedIndexes
   --dgHilitedIndex
   --- get the dgHilitedIndexes
   --- set the dgHilitedIndexes of group "DataGrid" to pIndex
   --- Returns a comma delimited list of the indexes that are currently selected.
   
   --dgHilitedLines
   --dgHilitedLine
   --- get the dgHilitedLines
   --- set the dgHilitedLines of group "DataGrid" to pLine
   --- Returns a comma delimited list of the line numbers that are currently selected.

Re: How do I navigate 10 x 10 cells in a DataGrid Using Buttons?

Posted: Mon Aug 22, 2011 7:54 am
by BarrySumpter
change of technique -

How Do I Override the Default Behavior For Rendering Data to a Cell?
http://lessons.runrev.com/spaces/lesson ... to-a-Cell-

Has anyone got this to work?
Consistantly?

Specificly the Example for Coloring Cells.

I had one working.
Saved it.
Now it doesn't work.
Now I can't get a new one to work either.