bindingInfo.setDateLevel(colName, level)

Sets the grouping level for a grouped date column.

Parameter

colName name of the grouped date column

level grouping level, e.g., StyleConstant.QUARTER_DATE_GROUP

Example

// Group by two months (Jan-Feb, Mar-Apr, May-Jun, etc.)

bindingInfo.setDateLevel('Order.Date',StyleConstant.MONTH_DATE_GROUP);

bindingInfo.setDateInterval('Order.Date',2);

See Also

bindingInfo.setDateInterval(colName, value), to set the grouping interval.

bindingInfo.addGroupCol(colName), to add a new grouping column.

<< bindingInfo.addGroupCol(colName) © 1996-2013 InetSoft Technology Corporation (v11.5) bindingInfo.setDateInterval(colName, value) >>