handsontable/src/utils/recordTranslator.js, line 4
Methods
-
handsontable/src/utils/recordTranslator.js, line 84
toPhysical(row, column){Object|Array}
-
Translate visual coordinates into physical. Can be passed as separate 2 arguments (row, column) or as an object in first
argument withrow
andcolumn
keys.Parameters:
Name Type Description row
Number | Object Visual coordinates or row index.
column
Number optional Visual column index.
Returns: {Object|Array} Returns an object with physical records or an array if coordinates passed as separate arguments.
-
handsontable/src/utils/recordTranslator.js, line 72
toPhysicalColumn(column){Number}
-
Translate visual column index into physical.
Parameters:
Name Type Description column
Number Visual column index.
Returns: {Number} Returns physical column index.
-
handsontable/src/utils/recordTranslator.js, line 62
toPhysicalRow(row){Number}
-
Translate visual row index into physical.
Parameters:
Name Type Description row
Number Visual row index.
Returns: {Number} Returns physical row index.
-
handsontable/src/utils/recordTranslator.js, line 41
toVisual(row, column){Object|Array}
-
Translate physical coordinates into visual. Can be passed as separate 2 arguments (row, column) or as an object in first
argument withrow
andcolumn
keys.Parameters:
Name Type Description row
Number | Object Physical coordinates or row index.
column
Number optional Physical column index.
Returns: {Object|Array} Returns an object with visual records or an array if coordinates passed as separate arguments.
-
handsontable/src/utils/recordTranslator.js, line 29
toVisualColumn(column){Number}
-
Translate physical column index into visual.
Parameters:
Name Type Description column
Number Physical column index.
Returns: {Number} Returns visual column index.
-
handsontable/src/utils/recordTranslator.js, line 19
toVisualRow(row){Number}
-
Translate physical row index into visual.
Parameters:
Name Type Description row
Number Physical row index.
Returns: {Number} Returns visual row index.