Package com.smartgwt.client.widgets.grid
Class DragTrackerTitleCustomizer
java.lang.Object
com.smartgwt.client.widgets.grid.DragTrackerTitleCustomizer
Hover customizer object for returning a different icon when a user has selected record(s) and is dragging them.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
getDragTrackerTitle
(ListGridRecord listGridRecord, int rowNum) Return "title" HTML to display as a drag tracker when the user drags some record.
Default implementation will display the cell value for the title field (see +link{listGrid.getTitleField()}) for the record(s) being dragged (including any icons / custom formatting / styling, etc).getGrid()
Returns the ListGrid over which the hover occurredvoid
-
Constructor Details
-
DragTrackerTitleCustomizer
public DragTrackerTitleCustomizer()
-
-
Method Details
-
setGrid
-
getGrid
Returns the ListGrid over which the hover occurred- Returns:
- ListGrid over which the hover occurred
-
getDragTrackerTitle
Return "title" HTML to display as a drag tracker when the user drags some record.
Default implementation will display the cell value for the title field (see +link{listGrid.getTitleField()}) for the record(s) being dragged (including any icons / custom formatting / styling, etc).Note: Only called if +link{listGrid.dragTrackerMode} is set to
"title"
.- Parameters:
record
- being dragged.rowNum
-- Returns:
- Title HTML for the row. Default implementation looks at the value of the title-field cell for the row.
-