Skip to Content
0

How do I select all list rows via an action-script (event handler)?

Jun 11, 2017 at 07:31 PM

82

avatar image

Hi All,

In ByDesign SDK OWL I have an action button and I want to add a Type:Script to the event handler assigned to the OnCLick property of the button - so as to select all the lines in the OWL before a further action is called.

I have tried

for i in 0..($data.List.Count-1)

$data.DataList.SetLeadSelectedIndex(i)

end

This only set the last entry in the list as selected.

I also tried a while statement but my syntax may have been wrong.

How would I also then de-select all entries?

Hope someone can help!

Regards

Jay

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers