Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Uniface-L] GRID dynamic changes to the cell widget types

49 views
Skip to first unread message

John Tsagarakis

unread,
Jun 16, 2010, 9:15:26 AM6/16/10
to Uniface User Group Discussion Forum
Hello Unifacers,

In the manual of 9.01.01 mention that "The Grid widget has been enhanced
to allow a background color, dynamic changes to the cell widget types"

I am interesting about dynamic changes to the cell widget types , but I
looked for several hours and I can't find how...

It was only a demo ? ( as the jock mentions )


John Tsagarakis


Iain Sharp

unread,
Jun 16, 2010, 9:46:58 AM6/16/10
to

Below is an extract from the manual, I've not tried it, but it appears
that $fieldproperties="WIDGETTYPE=...." is the necessary code.

From the 9.4 manual Uniface Reference->Widgets: Forms and
Reports->Grid

Cell Representations
A cell representation is the user interface for fields that are part
of an entity whose Widget Type is Grid. It displays and controls the
field values in a way that is specific for that representation. A cell
representation is comparable to a field-level widget used by fields
outside the grid and is defined using the field's Widget Type
property.

Most field-level widgets are not supported in the grid widget葉hey are
mapped to edit box cell representations. The following widgets are
supported and are mapped to cell representations with similar
behavior.

Check Box
Color Box
Command Button
Drop-down List
Edit Box
Picture
Sping Button
However, not all properties available in field-level widgets are
available on their grid widget cell representation. For details, see
Widgets and Properties Supported in Grid Widget.

You can dynamically change the widget type of a cell representation of
a field in the grid using the $fieldproperties Proc function, for
example:

$fieldproperties("FLD.ENT")="WIDGETTYPE=PICTURE" Note: This
functionality works only for cell representations of fields in a grid,
not for any other fields.

Iain Sharp

unread,
Jun 16, 2010, 9:46:58 AM6/16/10
to uniface...@lists.umanitoba.ca
On Wed, 16 Jun 2010 16:15:26 +0300, "John Tsagarakis"
<J.Tsag...@logisoft.gr> wrote:

Below is an extract from the manual, I've not tried it, but it appears

dammie

unread,
Jun 16, 2010, 10:18:10 AM6/16/10
to "UNIFACE Listserver" UNIFACE Listserver
I tested this and it works (but just for entity that has widget type set to Grid)...
0 new messages