pro version only
This functionality requires PRO version of the DHTMLX Grid (or DHTMLX Suite) package.
fires after a range has been successfully set
UsageâafterSetRange: (
range: {
xStart: string | number;
xEnd: string | number;
yStart: string | number;
yEnd: string | number;
}
) => void;
Parameters:
The callback of the event is called with the following parameters:
range (object) the object with the set range coordinates that contains the following options:xStart
- (string | number) the starting column idxEnd
- (string | number) the ending column idyStart
- (string | number) the starting row idyEnd
- (string | number) the ending row idExample
const grid = new dhx.Grid("grid_container", {
// other configuration
rangeSelection: true
});
grid.range.events.on("afterSetRange", (range) => {
console.log("The range is set:", range);
});
grid.range.setRange({ xStart: "a", yStart: "1" }); // logs the range object
Change log:
added in v9.2
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4