Page 1 of 1

Select xth row of the datagrid

Posted: Wed Oct 09, 2013 4:04 pm
by terryho
Hi all,

How can I select the 3rd row of datagrid when it is open?

I want when a card is open, there is a datagrid. I want it will highlight/pre-select the 3rd row of the datagrid.

I know I can use dgindex or dgHilitedLines, but I can not figure out, how to pre-select a row in it

Regards

Terry Ho

Re: Select xth row of the datagrid

Posted: Wed Oct 09, 2013 4:07 pm
by Klaus
Hi Terry,

almost there:

Code: Select all

on opencard
  set the dghilitedlines of grp "Your datagrid group here" to 3
end opencard
:D


Best

Klaus

Re: Select xth row of the datagrid

Posted: Wed Oct 09, 2013 4:18 pm
by terryho
Wow, Fast. :lol:

Thanks your help..

Regards

Re: Select xth row of the datagrid

Posted: Wed Oct 09, 2013 5:06 pm
by Klaus
Time is money! :D

Re: Select xth row of the datagrid

Posted: Wed Oct 09, 2013 6:11 pm
by dunbarx
Klaus pounces like a lion. You have to be fast to beat him.

Craig