This explains added functions in nexacor Platform which are not provided by MiPlatform and XPLATFORM.
MiPlatform, XPLATFORM and nexacro Platform are each different product . so the ways and functions to use are different.
This describes about functions focused on nexacro Platform.
Refer to nexacro Platform help for detailed contents of functions.
Grid
selectArea
This function makes grid is selected specific area by script.
Example)
this.Grid00.clearSelect();
clearSelect
This mothod can clear the selected area of grid.
Example)
this.Grid00.clearSelect();
getBindDataset()
This function receives dataset bound grid as object. In XPLATFORM product, we handle using eval after receiving binddataset information in grid property as String .
Example)
var ds = this.Grid00.getBindDataset();
setFixedRow()
This method is for frame fixing by Row unit.
This function is often requested to add to MiPlatform and XPLATFORM .
Example)
this.Grid00.setFixedRow(2);
- When Row Index to set exists in current screen, it will be fixed.
- If the scroll is moved, the moved condition will be fixed.
- To release fixing, set -1 value
- This does not support Tree Grid.
setFakeMerge
This method makes grid looks like merged grid.
Example)
this.Grid00.setFakeMerge(1,3,3,4);
getCurrentPseudo()
This returns current status.( This is useful to check whether component is focused or not, and whether mouse is over or not.)
Example)
this.Grid00.getCurrentPseudo();
getTreePath()
In case grid is Tree form, this function returns name from specific row to parent in path.
Example)
var path = this.Grid00.getTreePath(this.Grid00. this.Dataset00.rowposition);
getSelectedDatasetRows(), getSelectedRows()
getSelectedDatasetRows() : This function receives return the selected row of grid by dataset standard. getSelectedRows() : This function returns row in arrangement by Grid standard
Example)
trace(this.Grid00.getSelectedDatasetRows()); trace(this.Grid00.getSelectedRows());