Datagrid columnnames and widths
jr_wright at directline-tech.com
Wed Jun 8 12:19:32 EDT 2016
There are many notation calls in the Java Script that require the method be
run on the client side to obtain the properties of the object.
Instead of using $construct, you should use $init and make it a client side
method. If what you are trying to do is not supported on client side
method, you can then call a Server Side Method with a "Do method" to
complete you process.
$init (client side)
Do iColumnNames.$assign($cinst.$objs.DATA_GRID. $columnnames)
Do method $ServerSideDoStuff
JR Wright, CTO
DirectLine Technologies, Inc.
1-209-491-2020 ext. 6312
From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf
Of bob at maxolution.nl
Sent: Wednesday, June 08, 2016 8:12 AM
To: OmnisDev List -
Subject: Datagrid columnnames and widths
In 'FAT' client I can get and set the values of the $columnnames and
$columnwidths of a (Headed) List.
parameter pColumnWidths width the new values.
However i want to fetch the current widths of the columns when the window is
Where Calculate lColWidths as $cwind.$objs.ListName.$columnwidths in FAT
client provide the widths of the columns, is this not happening in
The error message is that the notation is not supported.
I tried it several ways in a method in the datagrid with $cobj.$columnwidths
or $cfield.$columnwidths also with () after the function, but always the
message not supported.
Also from outside the object with
$cinst.$objs.datagridname.$columnwidths() i get a notation error.
Does anyone knows the way to get the columnwidths and columnnames of a
datagrid or is it simply not possible?
Manage your list subscriptions at http://lists.omnis-dev.com
NOTE: This email message and any attachments are for the sole use of the intended
recipient(s) and may contain confidential and/or privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you are
not the intended recipient, please contact the sender by replying to this email,
and destroy all copies of the original message.
More information about the omnisdev-en