E
- the bean type@DomEvent(value="item-property-changed") public static class GridPro.ItemPropertyChangedEvent<E> extends ComponentEvent<GridPro<E>>
source
Constructor and Description |
---|
ItemPropertyChangedEvent(GridPro<E> source,
boolean fromClient,
elemental.json.JsonObject item,
String path)
Creates a new event using the given source and indicator whether the
event originated from the client side or the server side.
|
Modifier and Type | Method and Description |
---|---|
E |
getItem()
Gets an instance of edited item.
|
String |
getPath()
Gets the key of the column where item was edited.
|
elemental.json.JsonObject |
getSourceItem()
Gets an instance of edited item with the relations to the columns.
|
getSource, isFromClient, unregisterListener
toString
public ItemPropertyChangedEvent(GridPro<E> source, boolean fromClient, @EventData(value="event.detail.item") elemental.json.JsonObject item, @EventData(value="event.detail.path") String path)
source
- the source componentfromClient
- true
if the event originated from the clientitem
- the item to be edited, provided in JSON as internally represented in Gridpath
- item subproperty that was changedpublic E getItem()
public elemental.json.JsonObject getSourceItem()
public String getPath()
Copyright © 2019. All rights reserved.