Package com.smartgwt.client.widgets.grid
Class ListGridEditorContext
java.lang.Object
com.smartgwt.client.widgets.grid.ListGridEditorContext
Context object holding information about the cell being edited as part of a listGrid edit event.
-
Method Summary
Modifier and TypeMethodDescriptionDefault FormItem properties to apply to the editor for this cell.Similar toListGrid#getEditedRecord()
, this method returns a copy of the record being edited, with unsaved edit values applied.Returns the field in which the editor will be displayedint
Returns the rowNum being editedvoid
setDefaultProperties
(FormItem item) void
setEditedRecord
(ListGridRecord record) void
setEditField
(ListGridField field) void
setRowNum
(int rowNum)
-
Method Details
-
getDefaultProperties
Default FormItem properties to apply to the editor for this cell. These properties are derived automatically fromListGridField#setEditorType()
- Returns:
-
setDefaultProperties
-
getRowNum
public int getRowNum()Returns the rowNum being edited- Returns:
-
setRowNum
public void setRowNum(int rowNum) -
getEditField
Returns the field in which the editor will be displayed- Returns:
-
setEditField
-
getEditedRecord
Similar toListGrid#getEditedRecord()
, this method returns a copy of the record being edited, with unsaved edit values applied.- Returns:
-
setEditedRecord
-