Class ListGridColumnResizeEvent


public class ListGridColumnResizeEvent extends BaseJBStrapEvent
This class contains the data of the ListGrid Column resize event. These are the following:
  • The client on which the event occurred
  • The ID of the component on which the event occurred
  • The event type
  • The instance of the component, on which the event occurred
  • The event's unique ID
  • The map, containing the new column widths, in pixels
Since:
4.0
Author:
JBStrap
  • Constructor Details

    • ListGridColumnResizeEvent

      public ListGridColumnResizeEvent()
  • Method Details

    • getColumnWidths

      public Map<String,Long> getColumnWidths()
      Gets a map of the new ListGrid column width
      Returns:
      A map of the new ListGrid column width. The Map key is column name, the map value will is the column width in pixels.
    • getColumnWidth

      public Long getColumnWidth(String columnName)
      Gets the specified ListGrid column's width
      Parameters:
      columnName - The ListGrid column name
      Returns:
      The column width in pixels or null, if not found
    • getColumnNames

      public List<String> getColumnNames()
      Gets a list of the name of the ListGrid columns
      Returns:
      A list with the name of every ListGrid column