js_form Data Grid Control

Philip Tulett philip.tulett at pdq-networks.com
Wed Mar 23 13:03:48 UTC 2022


Hi Wayne,

The $vscroll maybe a new Studio function, I think the older versions were
one of :-

Do $cinst.$objs.List.$vcell.$assign(List.$line)

Or maybe :-

Do $cinst.$objs.List.$gridvcell.$assign(List.$line)


Kind regards
Philip Tulett

-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of
Philip Tulett
Sent: 23 March 2022 13:01
To: 'OmnisDev List - English' <omnisdev-en at lists.omnis-dev.com>
Subject: RE: js_form Data Grid Control

Hi Wayne,

Try using/adding the following:-

Do $cinst.$objs.List.$vscroll.$assign(List.$line)


Kind regards
Philip Tulett

-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of
Wayne Germann
Sent: 23 March 2022 12:51
To: Omnis List <omnisdev-en at lists.omnis-dev.com>
Subject: js_form Data Grid Control

Hello All,

I am trying to get the Data Grid Control on a js_form to goto the currently
selected list line.

I am using both of the following and it is not working.   The line is
current  and selected, but the list doesn't bring it to the top.

Do List.$next(LineN,ktrue)
Do List.$first(kTrue)
$cinst.$redraw()

What am i doing wrong.
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com Start a new
message -> mailto:omnisdev-en at lists.omnis-dev.com 

_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com Start a new
message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list