Page 1 of 1

Set a hilitedline for a datagrid.

Posted: Wed Aug 19, 2009 7:27 pm
by Paul D
how does one set a hilitedline in a datagrid. ScrollLineIntoView works but how do I hilited the one I scrolled to? I noticed dgHilitedLine only allows a get according to the API page.

Posted: Wed Aug 19, 2009 8:25 pm
by bn
Hi Paul,

Code: Select all

set the dgHilitedLines of group "DataGrid 1" to 1
its not in the api but I found it on Trevors site:
http://revolution.screenstepslive.com/s ... Data-Grid-
first script near the bottom.
it works
regards
Bernd

Posted: Thu Aug 20, 2009 2:29 pm
by Paul D
Awesome, thanks Bernd

Posted: Thu Aug 20, 2009 5:02 pm
by trevordevore
FYI - Both dgHilitedIndexes and dgHilitedLines appear in the API page.

Data Grid API

Posted: Thu Aug 20, 2009 7:09 pm
by bn
Trevor,
you wrote
FYI - Both dgHilitedIndexes and dgHilitedLines appear in the API page
Paul D wrote:
I noticed dgHilitedLine only allows a get according to the API page
So may be you just add the set option to the API page. I didn't find it either.

Besides: Thank you for creating and especially supporting the Datagrid. Without your support I think the mighty fine Datagrid would not have been used as widely as it is. Revolution has a powerful new tool, that solves a lot of problems and opens up many roads.

Thanks again
Bernd

Posted: Thu Aug 20, 2009 7:20 pm
by trevordevore
Ah, the docs don't state that you can both get or set the property. I will update it.

As for the support - you are welcome. I'm glad to see so many people using it.

Posted: Fri Aug 21, 2009 4:23 pm
by Paul D
Yes, big thanks Trevor. Datagrids are awesome.