selectRange() Method
Description
Selects a dates range.
Parameters
- type:String
Unit type. Possible values: "YTD", "Max" or "Unit"
- [optional] unit:String
Unit type if type parameter is set to "Unit". Can be "Year", "Month", "Day", "Hour", "Minute", "Second", "Millisecond".
- [optional] count:uint
Sets units count if type parameter is "Unit"
- [optional] anchor:String
Sets the date which the range is calculated from (only for "Unit" type). Available values: "LastDate", "FirstDate", "FirstVisibleDate", "LastVisibleDate", "Center".
Returns
Boolean.
Note: If the return value is true the command was processed successfully, the command failed to be processed due to component busy state otherwise.
Samples
Online HTML/JavaScript Sample