Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
jvx:client:gui:custom_linked_celleditor [2018/02/01 13:58] admin created |
jvx:client:gui:custom_linked_celleditor [2018/02/01 13:59] admin |
||
---|---|---|---|
Line 10: | Line 10: | ||
JVx offers different options, with or without database. | JVx offers different options, with or without database. | ||
- | ===== UIEnumCellEditor ===== | + | === UIEnumCellEditor === |
The easiest solution is an UIEnumCellEditor. | The easiest solution is an UIEnumCellEditor. | ||
Line 39: | Line 39: | ||
or to create a new DataRow | or to create a new DataRow | ||
- | </file java> | + | <file java> |
RowDefinition rowdef = new RowDefinition(); | RowDefinition rowdef = new RowDefinition(); | ||
rowdef.addColumnDefinition(new ColumnDefinition("LINK_ID", new BigDecimalDataType())); | rowdef.addColumnDefinition(new ColumnDefinition("LINK_ID", new BigDecimalDataType())); | ||
Line 49: | Line 49: | ||
To use automatic translation, follow [[jvx:client:model:databook:recordtranslation|this instrcutions]]. | To use automatic translation, follow [[jvx:client:model:databook:recordtranslation|this instrcutions]]. | ||
- | ===== UILinkedCellEditor ===== | + | === UILinkedCellEditor === |
If you need more flexibility, use an UILinkedCellEditor for your dropdowns. The UIEnumCellEditor maps a Value to one ID column, and displays the value column. | If you need more flexibility, use an UILinkedCellEditor for your dropdowns. The UIEnumCellEditor maps a Value to one ID column, and displays the value column. |