bindingInfo.setDateInterval(colName, value)

Sets the grouping interval for a grouped date column, i.e., the number of date units at the specified date grouping level to be included in each group.

Parameter

colName name of the grouped date column

value number of sequential date units to 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.setDateLevel(colName, level), to set the grouping level.

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

<< bindingInfo.setDateLevel(colName, level) © 1996-2013 InetSoft Technology Corporation (v11.5) bindingInfo.addHiddenColumn(colName) >>