setFocus within Grid

M

Mike

How can I have the first row of the datagrid highlighted when the page
loads?
I have rows highlighting on mouseover, and doubleclick event, but i want the
first row to be highlighted and also allow the user to use the arrows up and
down within the grid.

is that possible and is there any examples on this
 
S

SoftLion

One way of doing this:

You need to add some javascript to your page for this.
BODY onLoad="highlightFirstRow(...);"
and add a behaviour linked to the grid CSS style to TR tags so that they
react to UP and DOWN keys.

Benjamin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top