public class GxClientRowModel
A client model for rows
Modifier and Type | Field and Description |
---|---|
BBjNumber | ChildIndex! The row child index.
if the childIndex is |
JsonObject | ClientRow! The client row data as JsonObject. |
BBjString | Floating! The row pin position (top , bottom , null) |
BBjString | Id! The row id |
BBjNumber | Index! The row index |
BBjNumber | IsSelected! True when the row is selected, false otherwise |
BBjString | ParentKey! The row parent key, if any |
Constructor and Description |
---|
GxClientRowModel(BBjGridExWidget widget!) Construct new client row |
Modifier and Type | Method and Description |
---|---|
DataRow | asDataRow() Convert the client row to a DataRow |
JsonObject | getAsJsonObject() Get the row data as JsonObject |
JsonObject | getData() Alias for getAsJsonObject() |
BBjGridExWidget | getWidget() Get the widget instance |
String | toString() Convert row to string |
DataRow | updateFromClientRow() The method will merge the row data coming from the client with the current DataRow. |
public BBjNumber ChildIndex!
The row child index.
if the childIndex is -1
then the row is pinned to top or bottom
public JsonObject ClientRow!
The client row data as JsonObject.
public BBjString Floating!
The row pin position (top , bottom , null)
public BBjString Id!
The row id
public BBjNumber Index!
The row index
public BBjNumber IsSelected!
True when the row is selected, false otherwise
public BBjString ParentKey!
The row parent key, if any
public GxClientRowModel(BBjGridExWidget widget!)
Construct new client row
BBjGridExWidget
widget! The widget instancepublic DataRow asDataRow()
Convert the client row to a DataRow
public JsonObject getAsJsonObject()
Get the row data as JsonObject
public JsonObject getData()
Alias for getAsJsonObject()
getAsJsonObject()
public BBjGridExWidget getWidget()
Get the widget instance
public String toString()
Convert row to string
public DataRow updateFromClientRow()
The method will merge the row data coming from the client with the current DataRow.
BBjGridExWidget.includeClientRowDataInRowModels()