ThachNguyen/ibsheet7-dataset huggingface dataset:
 Info 
Return  Boolean, whether movement has successfully done  
Parameter  Type Required 
Y/N Description  
Col Long/String  Required  Index or SaveName of the column to 
move 
NewPos  Long/String  Required  Column location index to move 
column to or  
SaveName  
Event Boolean  Optional  When the column is moved, whether 
to fire  
OnBeforeColumnMove Event and  
OnAfterColumn Event.  
Default=1  
 Example  
//Move column 1 to column 9.  
mySheet.MoveColumnPos(1, 9);
//In case you use SaveName for each column  
mySheet.MoveColumnPos("stockNm", "payAmt");  
RangeBackColor  Method  
 Purpose  
Check or configure background color for a selected area of cells  
You may check or configure cell background color for either data or header area cell. If the area 
is set beyond header and data area, background color setting will be cancelled without an error 
message. If you are simply checking, 0 will be returned.
 Syntax  
Syntax  Get ObjId. GetRangeBackColor (Row1,Col1,Row2,Col2)  
 Info 
Return  String, currently set value (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell of the 
area
 Example  
//Check background color of a selected area  
mySheet. GetRangeBackColor(1,0,10,10 ); 
 Syntax  
Syntax  Set ObjId. SetRangeBackColor (Row1,Col1,Row2,Col2,Color)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell  of the 
area 
Color String  Required  WebColor  
 Example  
//Set background color to a selected area  
mySheet.SetRangeBackColor(1,0,10,10, "#FFFF00");
RangeFontBold  Method  
 Purpose  
Check or configure bold font for a selected area of cells  
You may check or configure bold font for either data or header area cell. If the area is set 
beyond header or data area, bold setting will be cancelled without an error message. If you are 
simply checking, 0 will be returned.  
 Syntax  
Syntax  Get ObjId. GetRangeFontBold (Row1, Col1, Row2, Col2)
 Info 
Return  Boolean, currently set value (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell of the 
area 
 Example  
//Check bold font usage in a selected area  
mySheet. GetRangeFontBold (1, 0, 2, 2 );
 Syntax  
Syntax  Set ObjId. SetRangeFontBold (Row1, Col1, Row2, Col2, Bold)  
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell of the 
area 
Bold Boolean  Required  Bold font setting
 Example  
//Bolden font in a selected area of cells  
mySheet.SetRangeFontBold(1, 0, 2, 2, 1);  
RangeFontColor  Method  
 Purpose  
Check or configure font color for a selected area of cells  
You may check or configure cell font color for either data or header area cell. If the area is set 
beyond header and data area, font color setting will be cancelled without an error message . If 
you are simply checking, 0 will be returned.
 Syntax  
Syntax  Get ObjId. GetRangeFontColor (Row1, Col1, Row2, Col2)  
 Info 
Return  String, currently set value (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell of the 
area
 Example  
//Check font color of a selected area  
myShee t.GetRangeFontColor(1,0,10,10 ); 
 Syntax  
Syntax  Set ObjId. SetRangeFontColor (Row1, Col1, Row2, Col2, Color)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell of the 
area 
Color String  Required  WebColor  
 Example  
//Set font color to a selected area  
mySheet.SetRangeFontColor(1,0,10,10, "FF0000");
Range Text Method  
 Purpose  
Check or configure cell text of a selected area with the values as they appear on the screen 
including format configurations.  
You may check or configure cell text for either data or header area cell. If the area is set beyond 
header or data area, cell text setting will be cancelled without an error message. If you are simply 
checking, 0 will be returned.
 Syntax  
Syntax  Get ObjId. GetRangeText (Row1,Col1,Row2,Col2 ,[ColSeparator], 
[RowSeparator])  
 Info 
Return  String, currently set string (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell of the 
area 
ColSeparator  String  Optional  Column separator Default="|"  
RowSeparator  String  Optional  Row separator Default="^"
 Example  
//Check cell text of a selected area with the values as they appear on the 
screen including format configurations.  
mySheet. GetRangeText(1,  1, 2, 2, "|", "^"); 
 Syntax  
Syntax  Set ObjId. SetRangeText (sData,Row1,Col1,Row2,Col2, 
[ColSeparator], [RowSeparator])
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
sData String  Required  String 
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell of the 
area 
ColSeparator  String  Optional  Column separator Default="|"  
RowSeparator  String  Optional  Row separator Default="^"  
 Example  
//Set A in cell 1, 1 and D in cell 2, 2.  
mySheet.SetRangeText("A|B^C|D",  1, 1, 2, 2, "|", "^");
//Set ** from cell 1, 7 to cell 5, 10.  
  mySheet.SetRange Text("**", 1, 7, 5, 10); 
Range Value  Method  
 Purpose  
Check or configure  the cell values of a particular area with values without formatting that are 
used for saving.  
You may check or configure cell values for either data or header area cell. If the area is set 
beyond header or data area, the setting will be cancelled without an error message. If you are 
simply checking, 0 will be returned.
 Syntax  
Syntax  Get ObjId. GetRangeValue( Row1,Col1,Row2,Col2 ,[ColSeparator]
,[RowSeparator])  
 Info 
Return  String, currently set string (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell of the 
area 
ColSeparator  String  Optional  Column separator Default=|  
RowSeparator  String  Optional  Row separator Default=^
 Example  
//Check the cell values of a particular area with values without formatting 
that are used for saving.  
mySheet. GetRange Value("A|B^C|D",  1, 1, 2, 2, "|", "^"); 
 Syntax  
Syntax  Set ObjId. SetRangeValue (sData,Row1,Col1,Row2,Col2, 
[ColSeparator],[RowSeparator])
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
sData String  Required  String 
Row1 Long Required  Row index of the first cell of the 
area 
Col1 Long Required  Column index of the first cell of the 
area 
Row2 Long Required  Row index of the last cell of the 
area 
Col2 Long Required  Column index of the last cell of the 
area 
ColSeparator  String  Optional  Column separator Default=|  
RowSeparator  String  Optional  Row separator Default=^  
 Example  
//Set A in cell 1, 1 and D in cell 2, 2.  
mySheet.SetRange Value("A|B^C|D",  1, 1, 2, 2, "|", "^");
//Set ** from cell 1, 7 to cell 5, 10.  
mySheet.SetRange Value("**", 1, 7, 5, 10); 
RedrawSum  Method  
 Purpose  
Check or configure whether to recalculate sums.  
If you change cell values of a column which include sum using SetCellValue method, data change 
performance will suffer. The reason is that at every update of a single data value, sum will be 
recalculated. You can improve data update performance using this method to recalculate sum 
only after all data have been changed. Note that after using this property by setting it at 0, you 
need to reset the value to 1.
 Syntax  
Syntax  Get ObjId. GetRedrawSum () 
 Info 
Return  Boolean, set value (In case of Get Method)  
Parameter  Type Required 
Y/N Description
 Example  
//Check whether to sum data items.  
mySheet. GetRedrawSum();  
 Syntax  
Syntax  Set ObjId. SetRedrawSum (Redraw)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Redraw  Boolean  Required  Whether to calculate sum row  
 Example  
//Use when there are many data items to update  
mySheet.SetRedrawSum(0);  
for(var i=1; i<100; i++) mySheet.SetCellValue(i,1, 10000, 0);  
//When RedrawSum is set as  1, updated sum and data will display together.  
mySheet.SetRedrawSum(1);
RemoveAll  Method  
 Purpose  
Delete all data rows and leave the header row only.  
 Syntax  
Syntax  ObjId. RemoveAll ()
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
N/A 
 Example  
// Delete all data  
mySheet.RemoveAll();
RenderSheet  Method  
 Purpose  
When you add multiple rows or hide multiple columns, you may use this method and do 
rendering once at the end to improve performance.  
Note! After using this property by setting it at 0(false), you need to reset the value to 1 
(true). Otherwise, Sheet may display incorrectly or broken.
You may expect improved performance when you use the following functions for multiple targets.  
Method  Description  
ColHidden  Hiding columns  
DataInsert  Adding rows  
InitCellProperty  Resetting cell  properties  
 Syntax  
Syntax  ObjId. RenderSheet (Render )
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Render  Boolean  Required  Rendering or not (Default=1)  
 Example  
// Improve performance when adding 30 rows, using RenderSheet method  
mySheet.RenderSheet(0);  
for (var i = 0; i < 30; i++) {  
mySheet.DataInsert();  
} 
mySheet.RenderSheet(1);
ReNumberSeq  Method  
 Purpose  
Renumber the data with data type Seq.  
 Syntax  
Syntax  ObjId. ReNumberSeq()
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
N/A 
 Example  
//Renumber columns with column type Seq from 1.  
mySheet.ReNumberSeq();
Reset Method  
 Purpose  
Remove all configurations in IBSheet  and reset to OOTB state.  
 Syntax  
Syntax  ObjId. Reset()
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
N/A 
 Example  
//Restore the original state  
mySheet.Reset();
ReturnCellData Method  
 Purpose  
In search result, restore a particular cell value to the original search result data before transaction 
is occurred.  
In the following cases, you cannot restore the original search data:  
1. When the data is not searched for; for example, when the data is in Insert state  
2.  When there is no Status column  
3. When the data type is one of the followings: Status, DelCheck, Seq, Image  
 Syntax  
Syntax  ObjId. ReturnCellData (Row,Col)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Long Required  Row index of the data cell  
Col Long / 
String  Required  Column index of the data cell  
or SaveName  
 Example  
//Restore the original state  
mySheet.ReturnCellData(Row,Col);
ReturnColumnPos Method  
 Purpose  
Return the moved column to its original location  
 Syntax  
Syntax  ObjId. ReturnColumnPos ()
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
N/A 
 Example  
//Return to the original location  
mySheet.ReturnColumnPos();
ReturnData  Method  
 Purpose  
Change the data of a particular row to search result string  
In the following cases, you cannot restore the original search data:  
1. When the data is not searched for; for example, when the data is in Insert state  
2. When there is no Status column  
 Syntax  
Syntax  ObjId. ReturnData (Row)
 Info 
Return  None 
Parameter  Type Required Description  
Y/N 
Row Long Required  Row index of the data row  
 Example  
//Restore the original state  
mySheet.ReturnData(2);
RowBackColor  Method  
 Purpose  
Check or configure background color of the entire row. Background color of the data area will be 
checked or configured. If the row does not exist, it will not return any error message and just 
cancels the background color setting. If you are simply checking, 0 will be returned.  
Configure the color using WebColor.  
 Syntax  
Syntax  Get ObjId. GetRowBackColor (Row)
 Info 
Return  String, background color (in case of Get Method)  
Parameter  Type Required Y/N  Description  
Row Long Required  Row Index  
 Example  
// Check background color of Row 1.  
mySheet. GetRowBackColor(1 );
 Syntax  
Syntax  Set ObjId. SetRowBackColor (Row,BackColor)  
 Info 
Return  None 
Parameter  Type Required Y/N  Description  
Row Long Required  Row Index 
BackColor  String  Required  WebColor color value
 Example  
//Set the row background color as gray for Row 1.  
mySheet.SetRowBackColor(1," #C0C0C0 "); 
//Set the row background color as red for Row 3.  
mySheet.SetRowBackColor(1,"#FF0000");  
//Set the Row 2 background color as the same color as Row 1 background.  
mySheet.SetRowBackColor(2, mySheet.GetRowBackColor(1));
RowBackColorD  Method  
 Purpose  
Check or configure background color of rows the transaction status of which is Deleted.  
When this method appli es, the background color will apply to newly added items and the 
background color of the existing data on the sheet will remain the same.  
Configure the color using WebColor.  
 Syntax  
Syntax  Get ObjId. GetRowBackColorD ()
 Info 
Return  String, set color (in case of Get Method)  
Parameter  Type Required Y/N  Description  
 Example  
Check background color of rows the transaction status of which is Deleted.  
mySheet. GetRowBackColorD( );
 Syntax  
Syntax  Set ObjId. SetRowBackColorD (BackColor)  
 Info 
Return  None 
Parameter  Type Required Y/N  Description  
BackColor  String  Required  WebColor 값
 Example  
//Set the background color of rows with transaction status Deleted as gray.  
mySheet.SetRowBackColorD(" #C0C0C0 "); 
//Set the background color of rows with transaction status Deleted as the 
same color as Row 1 background.  
mySheet.SetRowBackColorD(mySheet.GetRowBackColor(1));
RowBackColorI  Method  
 Purpose  
Check or configure background color of rows the transaction status of which is Insert.  
When this method applies, the background color will apply to newly added items and the 
background color of the existing data on the sheet will remain the same.  
 Syntax  
Syntax  Get ObjId. GetRowBackColorI ()
 Info 
Return  String, set color (in case of Get Method)  
Parameter  Type Required Y/N  Description  
BackColor  String  Required  WebColor color value  
 Example  
//Check background color of rows the transaction status of which is Insert.  
mySheet. GetRowBackColorI( );
 Syntax  
Syntax  Set ObjId. SetRowBackColorI (BackColor)  
 Info 
Return  None 
Parameter  Type Required Y/N  Description  
BackColor  String  Required  WebColor color value
 Example  
//Set the background color of rows with transaction status Insert as gray.  
mySheet.SetRowBackColorI(" #C0C0C0 "); 
//Set the background color of rows with transaction status Insert as the same 
color as Row 1 background.  
mySheet.SetRowBackColorI(mySheet.GetRowBackColor(1));
RowBackColorU  Method  
 Purpose  
Check or configure background color of rows the transaction status of which is Edit.  
When this method applies, the background color will apply to newly added items and the 
background color of the existing data on the sheet will remain the same.  
 Syntax  
Syntax  Get ObjId. GetRowBackColorU ()
 Info 
Return  String, set color (in case of  Get Method)  
Parameter  Type Required Y/N  Description  
BackColor  String  Required  WebColor color value  
 Example  
//Check background color of rows the transaction status of which is Edit.  
mySheet. GetRowBackColorU( );
 Syntax  
Syntax  Set ObjId. SetRowBackColorU (BackColor)  
 Info 
Return  None 
Parameter  Type Required Y/N  Description  
BackColor  String  Required  WebColor color value
 Example  
//Set the background color of rows with transaction status Edit as gray.  
mySheet.SetRowBackColorU(" #C0C0C0 "); 
//Set the background color of rows with transaction status Edit as the same 
color as Row 1 background.  
mySheet.SetRowBackColorU(mySheet.GetRowBackColor(1));
RowCount  Method  
 Purpose  
Check the total data row count.  
If the Status value is not set, this method will check for the total data row count, including search 
results and any newly added rows.  
Depending on the Status value, you may count the rows with different status, such as Search, 
Insert, Edit or Deleted.  
 Syntax  
Syntax  ObjId. RowCount ([Status])
 Info 
Return  Long, total or partial data row count with a particular 
transaction status  
Parameter  Type Required 
Y/N Description  
Status  String  Optional  Transaction code. Default="Total 
count"  
 Example  
alert("Total count is " + mySheet.RowCount() + " rows. ");  
alert("Search row count is " + mySheet.RowCount("R") + " rows. ");  
alert("Insert row count is " + mySheet.RowCount("I") + " rows. ");  
alert("Edit row count is " + mySheet.RowCount("U") + "  rows. ");  
alert("Deleted row count is " + mySheet.RowCount("D") + "  rows. ");
RowDelete  Method  
 Purpose  
Delete one or more data rows.  
If Confirm parameter is set as  1, a confirmation message will appear before deletion.  
If Row parameter is not set, rows currently selected will be deleted.  
 Syntax  
Syntax  ObjId. RowDelete ([Row],[ Confirm ])
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Number/String  Optional  Index of the row to delete, or a 
string of row indexes adjoined by 
"|". 
Default="Currently selected row(s)"  
Confirm  Boolean  Optional  Whether to show confirmation 
message before deletion  
Default= 0 
 Example  
//Delete Row 1 without a confirmation message  
mySheet.RowDelete(1, 0);
// Delete rows 3, 7 and 10  
mySheet.RowDelete("3|7|10");  
RowDraggable  Method  
 Purpose  
Check or configure whether to allow mouse dragging for a particular row  
Available options and values are as follows:  
Value Details  
0 Row drag not allowed  
1 
(Default)  Row drag is allowed
 Syntax  
Syntax  Get ObjId. GetRowDra ggable(row) 
 Info 
Return  Boolean, set value (In case of Get Method)   
Parameter  Type Required 
Y/N Description  
row Long Optional  Row index of the row
 Example  
// Check drag permission for a row  
var drag = mySheet. GetRowDrag gable(3); 
 Syntax  
Syntax  Set ObjId. SetRowDrag gable(row, drag )
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
row Long Optional  Row index of the row  
drag Boolean  Required  Drag permission configuration value 
(Default=1)  
 Example  
// Allow dragging for Row 3 (Configure whether to allow mouse dragging on 
a row)  
mySheet.SetRowDraggable(3, 1); // Drag is allowed  
mySheet.SetRowDraggable(3, 0); // Drag is disallowed
RowEditable  Method  
 Purpose  
Check or configure editable status of a particular row.  
You can change the editable status of a row only when all cell's editability status is editable.  
If ColEditable value is Not Allowed, RowEditable configuration will be ignored.  
Whether a row is editable will be determined as follows:  
Editable  ColEditable  RowEditable  CellEditable  Cell editable Y/N  
No No impact  No impact  No impact  No 
Yes No No Yes/No  Yes/No  
Yes Yes Yes/No  Yes/No  Yes/No
 Syntax  
Syntax  Get ObjId. GetRowEditable (Row) 
 Info 
Return  Boolean, editability status (in case of Get Method)  
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row
 Example  
//Check editability status of Row 1.  
mySheet. GetRowEditable(1,0);  
 Syntax  
Syntax  Set ObjId. SetRowEditable (Row, Editable)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row  
Editable  Boolean  Required  Row editable Y/N  
(Use only for Set)  
 Example  
//Set editability status of Row 1 as 0.  
mySheet.SetRowEditable(1,0);
RowExpand ed Method  
 Purpose  
In tree type sheet, this method checks whether child levels of a row is expanded, or configures to 
expand child level.  
 Syntax  
Syntax  Get ObjId. GetRowExpanded (Row)
 Info 
Return  Boolean, whether child rows are expanded (in case of Get 
Method)  
Parameter  Type Required Y/N  Description  
Row Long Required  Row Index  
 Example  
//Check whether child rows of Row 2 are expanded, and if not, expand them.  
if(mySheet.GetRowExpanded(2) == 0){  
    mySheet.SetRowExpanded(2, 1);  
}
 Syntax  
Syntax  Set ObjId. SetRowExpanded (Row, Expand)  
 Info 
Return  None 
Parameter  Type Required Y/N  Description  
Row Long Required  Row Index  
Expand  Boolean  Required  Whether child rows are 
expanded (Set)
 Example  
//Check whether child rows of Row 2 are expanded, and if not, expand them.  
if(mySheet.GetRowExpanded(2) == 0){  
    mySheet.SetRowExpanded(2, 1);  
} 
RowFontColor  Method  
 Purpose  
Check or configure font color of the entire row.
 Syntax  
Syntax  Get ObjId. GetRowFontColor (Row) 
 Info 
Return  String, set color (in case of Get Method)  
Parameter  Type Required Y/N  Description  
Row Long Required  Row Index
 Example  
// Check font color of Row 1.  
mySheet. GetRowFontColor(1);  
 Syntax  
Syntax  Set ObjId. SetRowFontColor (Row,Color)
 Info 
Return  None 
Parameter  Type Required Y/N  Description  
Row Long Required  Row Index  
Color String  Required  WebColor color value  
 Example  
//Set the row font color as gray for Row 1.  
mySheet.SetRowFontColor(1, "192,192,192");
//Set the Row 2 font color as the same color as Row 1 font.  
mySheet.SetRowFontColor(2,mySheet.GetRowFontColor(1));  
RowHeight  Method  
 Purpose  
Check or configure height of a particular row.  
You can set row height by pixels. If the row does not exist, it will not return any error message 
and just cancels the setting.
 Syntax  
Syntax  Get ObjId. GetRowHeight (Row) 
 Info 
Return  Integer, current row height (In case of Get Method)  
Parameter  Type Required Description  
Y/N 
Row Long Required  Row index to set height for
 Example  
//Check the Row 1 height.  
mySheet. GetRowHeight(1);  
 Syntax  
Syntax  Set ObjId. SetRowHeight (Row, Height)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Long Required  Row index to set height for  
Height  Integer  Required  Row height to set  
 Example  
//Adjust the height to 50 pixels 
mySheet.SetRowHeight(1, 50);
//Set the height of row 3 as the same height as Row 2  
mySheet.SetRowHeight(3, mySheet.GetRowHeight(2));  
RowHeightM ax Method  
 Purpose  
Check or configure row height of all data rows.  
This method will apply only when data row height is set as automatic. If the value is set smaller 
than DataRowHeight, the latter will apply.
This method is used when you want to set row height as automatic but do not want row height 
to be bigger than a ce rtain level.  
 Syntax  
Syntax  Get ObjId. GetRowHeightM ax()
 Info 
Return  Integer, row max height (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
 Example  
//Check the set min height value.  
mySheet.GetRowHeightM ax();
 Syntax  
Syntax  Set ObjId. SetRowHeightM ax(MaxHeight)  
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
MaxHeight  Integer  Required  Max height value to set for the row
 Example  
//Set the minimum height at 50 pixels.  
mySheet.SetRowHeightM ax(50); 
RowHeightMin  Method  
 Purpose  
Check or configure minimum height of all rows. Minimum neight cannot be 5 pixels or smaller, 
so choose a value bigger than 5 pixels. The default is set as  21 pixels.
 Syntax  
Syntax  Get ObjId. GetRowHeightMin () 
 Info 
Return  Integer, row min height (In case of Get Method)  
Parameter  Type Required 
Y/N Description
 Example  
//Check the set min height value.  
mySheet.GetRowHeightMin();  
 Syntax  
Syntax  Set ObjId. SetRowHeightMin (MinHeight)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
MinHeight  Integer  Required  Min height value to set for the row  
 Example  
//Set the minimum height at 10 pixels.  
mySheet.SetRowHeightMin(10);
RowHidden  Method  
 Purpose  
Check or configure hiding status of rows.  
You can configure hiding status  of multiple rows by adjoining row indexes with ‘|'. (However, 
Read function is not supported for multiple rows. )  
 Syntax  
Syntax  Get ObjId. GetRowHidden (Row)
 Info 
Return  Boolean,  set value  (If Get: 1 , hidden; if 0, unhidden)  
Parameter  Type Required 
Y/N Description  
Row Long 
/String  Required  Row index of a particular row  
or string of row indexes adjoined by "|"  
(Use only for Set)  
 Example  
//Check hiding status of Row 1 and unhide if hidden.  
if(mySheet.GetRowHidden(1)){  
 mySheet.SetRowHidden(1,0);  
}
 Syntax  
Syntax  Set ObjId. SetRowHidden (Row,Hidden)  
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Long 
/String  Required  Row index of a particular row  
or string of row indexes adjoined by "|"  
(Use only for Set)  
Hidden  Boolean  Required  Hidden or not
 Example  
//Check hiding status of Row 1 and unhide if hidden.  
if(mySheet.GetRowHidden(1)){  
 mySheet.SetRowHidden(1,0);  
} 
//Hide multiple rows simultaneously  
mySheet.SetRowHidden("2|5|7|10", 1);  
RowJson Method  
 Purpose  
Create and return a JSON object with row data using SaveName of each column, or change 
configuration.  
For unit data row structure of two or more rows, the entire unit data rows are returned or 
configured.
 Syntax  
Syntax  ObjId. GetRowJson (Row) 
 Info 
Return  Object, data object of the selected rows  
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row
 Example  
// Return JSON object of Row 1.  
var rowJosn = mySheet.GetRowJson(1);  
 Syntax  
Syntax  ObjId. SetRowJson (Row, Data )
 Info 
Return  Object, data object of the selected rows  
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row  
Data Object  Required  Search JSON string  
 Example  
// Configure Row 1 as the selected JSON object.  
var data = {Data:[[ {sName:” Gildong Hong ”, sAge:20} ]]};  
var rowJosn = mySheet. SetRowJson(1 , data);
RowLevel  Method  
 Purpose  
Check or configure tree levels of a row.  
When there is a tree sturucture, this method will Check or configure  the tree level of row. Tree 
levels will start from 0.  
 Syntax  
Syntax  Get ObjId. GetRowLevel (Row)
 Info 
Return  Integer, tree level of the current row (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row  
 Example  
// Check for tree level of Row 1  
mySheet. GetRowLevel( 1);
 Syntax  
Syntax  Set ObjId. SetRowLevel (Row,Level)  
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row  
Level Integer  Required  Tree level value of a row (Set)
 Example  
//Move a row to upper tree level by 1 level  
mySheet.SetRowLevel(1,mySheet.GetRowLevel(1) +1);  
RowMerge Method  
 Purpose  
Check or configure horizontal merge status of a row.  
Horizontal merge is allowed only when Merge All is allowed and the selected data row exists.
 Syntax  
Syntax  Get ObjId. GetRowMerge (Row) 
 Info 
Return  Boolean, horizontal merge permission of the current row (In 
case of Get Method)  
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row
 Example  
// Check for horizontal merge permission of Row 1.  
mySheet. GetRowMerge(1 ); 
 Syntax  
Syntax  Set ObjId. SetRowMerge (Row, Merge)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row  
Merge  Boolean  Required  Whether horizontal merge is 
allowed  
 Example  
// Allow horizontal merge for Row 1.  
mySheet.SetRowMerge(1, 1);
RowSaveStr  Method  
 Purpose  
This method will combine and return row data using column SaveName in a query string format 
which is used for saving.  
SaveName1=Value1&SaveName2=Value2& ... 
The return string will be in the above format. Korean  characters will be UrlEncoded before being 
returned.  
 Syntax  
Syntax  ObjId. RowSaveStr (Row)
 Info 
Return  String, row data  
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row  
 Example  
// Fetch SaveString of Row 1  
var RowParam = mySheet.RowSaveStr(1);
RowTop Method  
 Purpose  
Check offsetTop value of a row.  
If Row parameter setting is not correct, return -1 without any further processing.  
The reference point will be the topmost location of the Sheet container (table). (Reference point: 
0) 
Depending on the location of vertical scroll, the return value may vary for the same row.  
 Syntax  
Syntax  ObjId. RowTop (Row)
 Info 
Type Long, top location of a row  
Parameter  Type Description  
Row Long Row Index  
 Example  
//Find out the top location of a row.  
var iTop = mySheet.RowTop(1);
SaveNameCol  Method  
 Purpose  
Check column index using SaveName set in InitColumns. If there is no matching column for the 
SaveName, -1 is returned.  
 Syntax  
Syntax  ObjId. SaveNameCol (SaveName)
 Info 
Return  Long, column index  
Parameter  Type Required 
Y/N Description  
SaveName  String  Required  Saved parameter name  
 Example  
// Fetch column index using SaveName.  
var Col = mySheet.SaveNameCol("stockNm");
SavingImage  Method  
 Purpose  
Check or configure the location of image file of saving waiting image.  
This method can be used to customize waiting image as the user want which displays during 
saving.  
 Syntax  
Syntax  Get ObjId. GetSavingImage ()
 Info 
Return  String, currently set value (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
 Example  
//Check the currently set image path of saving waiting image.  
alert(mySheet.GetSavingImage());
 Syntax  
Syntax  Set ObjId. SetSavingImage (Url) 
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Url String  Required  Image URL
 Example  
//Change the search waiting image.  
mySheet.SetSavingImage( "/sheet/imgSave.gif");  
SearchingImage  Method  
 Purpose  
Check or configure the location of image file of search waiting image.  
This method can be used to customize waiting image as the user want which displays during 
saving.
 Syntax  
Syntax  Get ObjId. GetSearchingImage () 
 Info 
Return  String, currently set value (In case of Get Method)  
Parameter  Type Required 
Y/N Description
 Example  
//Check  the currently set image path of search waiting image.  
alert(mySheet.GetSearchingImage());  
 Syntax  
Syntax  Set ObjId. SetSearchingImage (Url)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Url String  Required  Image URL  
 Example  
//Change the  search waiting image.  
mySheet.SetSearchingImage( "/sheet/imgSearch.gif");
SearchRows  Method  
 Purpose  
Check the total row count returned by a search XML.  
 Syntax  
Syntax  ObjId. SearchRows ()
 Info 
Return  Long, total return row count  
Parameter  Type Required 
Y/N Description  
N/A 
 Example  
//Check row count  
alert(mySheet.SearchRows());
SelectCell  Method  
 Purpose  
Selet a particular cell. If the selected cell is editable and EditMode parameter is set as 1, the cell 
selected will turn to Edit  mode as soon as it is selected. If you do not need the cell to be Edit 
Mode, set EditMode parameter as 0 before calling this method.  
EditModeText parameter is used only when EditMode parameter is 1. When the cell is turned to 
Edit Mode, you can configure  the cell text to display in EditMode Text.
 Syntax  
Syntax  ObjId. SelectCell (Row, Col, [EditMode] , [EditModeText] ) 
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Long Required  Row Index of the cell to select  
Col Long / Required  Column Index of the selected cell  
String  or SaveName  
EditMode  Boolean  Optional  Select or deselect Edit Mode for the 
selected cell, Default=0 (Not in edit 
mode)  
EditModeText  String  Optional  Set the cell text when EditMode is 1. 
Default=""
 Example  
// Select Row 2, and create a new row below the selected row  
mySheet.SelectCell(2, 0);   
mySheet.DataInsert();  
SelectCol  Method  
 Purpose  
Check or configure the column index of the currently selected cell.  
Use this property along with SelectRow property, or you may use SelectCell method which uses 
both properties.
 Syntax  
Syntax  Get ObjId. GetSelectCol () 
 Info 
Return  Long, currently selected column index (In case of Get 
Method)  
Parameter  Type Required 
Y/N Description
 Example  
//Check the selected column.  
alert(mySheet.GetSelectCol());  
 Syntax  
Syntax  Set ObjId. SetSelectCol (Col)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Col Long/String  Required  Column index of the currently 
selected cell  
or SaveName  
 Example  
//Select the column whose column index is 2.  
mySheet.SetSelectCol(2);
SelectionMode  Method  
 Purpose  
Check or configure cell selection mode. Configurable options are as follows:  
Type Description  
0 Select by cells  
1 Select by rows  
3 Select multiple rows from different locations using Ctrl key  
Selected row index can be checked using 
GetSelectionRows() method  
 Syntax  
Syntax  Get ObjId. GetSelectionMode ()
 Info 
Return  Integer,current set value (in case of Get Method)  
Parameter  Type Required 
Y/N Description  
 Example  
//Check the current selection mode.  
alert(mySheet.GetSelectionMode());
 Syntax  
Syntax  Set ObjId. SetSelectionMode (Mode)  
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Mode  Integer  Required  Selection mode type  
(0: Select by cell, 1: select by row)
 Example  
//Configure select by cell.  
mySheet.Set SelectionMode(0);  
SelectRow  Method  
 Purpose  
Check or configure row index of the currently selected cell.  
Use this property along with SelectCol property, or you may use SelectCell method which uses 
both properties.
 Syntax  
Syntax  Get ObjId. GetSelectRow () 
 Info 
Return  Long, currently selected row index (In case of Get Method)  
Parameter  Type Required 
Y/N Description
 Example  
//Check the selected row.  
alert(mySheet.GetSelectRow());  
 Syntax  
Syntax  Set ObjId. SetSelectRow (Row)
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of the row to select  
 Example  
//Select the row whose row index is 2  
mySheet.SetSelectRow(2);
SendComboData  Method  
 Purpose  
Check or configure the data transmitted to server when data type is Combo.  
When data of a column is to be transmitted to server using Saving method, usually the code 
configured in Combo is transmitted. However by using this method you may transmit text as 
displayed instead o f code, or transmit both the code and text.  
 Syntax  
Syntax  Get ObjId. GetSendComboData (DataRow, Col )
 Info 
Return  String, transmission data format of the currently selected combo 
column (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
DataRow  Long Required  Unit data row index  
Col Long / 
String  Required  Column index or SaveName of a 
particular column  
 Example  
//Check the combo transmission format of Column 3  
  mySheet. GetSendComboData(0,3 );
 Syntax  
Syntax  Set ObjId. SetSendComboData (DataRow, Col , Type ) 
 Info 
Return  String, transmission data format of the currently selected combo 
column (In case of Get Method)  
Parameter  Type Required 
Y/N Description  
DataRow  Long Required  Unit data row index  
Col Long / 
String  Required  Column index or SaveName of a 
particular column  
Type String  Optional  Server transmission option 
configuration  
("Text" or "code"), Default="code"
 Example  
//Configure  the combo transmission format of Column 3 as both Code 
and text.  
  mySheet. SetSendComboData(0,3 ,"Code|Text" ); 
  //Configure  the combo transmission format of Dept column as text 
instead of code.  
  mySheet.SendComboData(0,"Dept" ,"Text") ;
SetBlur  Method  
 Purpose  
Remove focus from the sheet  
 Syntax  
Syntax  ObjId. SetBlur ()
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
N/A 
 Example  
// Remove focus from the sheet.  
mySheet.SetBlur();
SetCellImageStyle  Method  
 Purpose  
Configure image when a cell uses Image property.  
The following properties may be configured using this method.  
Property  Type Description  
Image  Integer  Image path  
ImgAlign  String  Image display location  
ImgWidth  Integer  Width of the image  
ImgHeight  Integer  Height of the image  
 Syntax  
Syntax  ObjId. SetCellImageStyle (Row, Col, Style );
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
Row Long Required  Index of relevant rows  
Col Logn/String  Required  Index or SaveName of the target 
column  
Style Object  Required  Cell's image related property object  
 Example  
//Display image of the third row, third column in  the left side  
var style = {Image:  "myImage.gif ", ImgHeight:20, ImgAlign:" Left"}; 
mySheet.SetCellImageStyle( 3, 3, style);
// Display the first image of the Image List in Row 3, Column 3 in the right 
side. 
mySheet.SetImageList(0, "image0.gif "); 
mySheet.SetImageList(1. "image1.gif "); 
var style = {Image:  1, ImgAlign:" Right"}; 
mySheet.SetCellImageStyle( 3, 3, style); 
SetColProperty  Method  
 Purpose  
Use this method when you want to define a property of a particular column dynamically, after 
the property is set in InitColumns Method.
Properties that may be reconfigured using this method are as follows:  
Property  Type Description  
AcceptKeys  String Accepted key configuraiton  
Align String Data alignment  
AllowNull  Boolean  Whether to allow empty value for 
columns of number -like status  
ApproximateType  Number  Approximation type (1: Rounding, 2: 
Rounding down, 3: Rounding up)  
ButtonUrl  String/Number  Popup  button's image path or image 
list index  
ComboCode  String Combo list code group  
ComboText  String Combo list text string group  
CustomDate  Number  Custom date availability  
DefaultValue  String Default applies for new entries  
Edit Boolean  Editability  
EditLen  Number  Editable data legnth  
FalseValue  String Set false value for checkbox colums 
whose false value is not 0. If set "F", 
you can use "F" as False value instead 
of 0. 
Format  String Data mask application format  
FormatFix  Boolean  Whether to return  GetCellText value 
upon GetCellValue. If set as true, the 
format will be also saved upon saving.  
HoverUnderline  Boolean  Whether to underline when mouse is 
hovering over  
Image  String Image representation URL  
ImgHeight  Number  Image height  
ImgWidth  Number  Image width  
InputCaseSensitive  Number  Whether to use particular case 
automatically for alphabet inputs  
0: No configuration (Default)  
1: Replace with upper case  
2: Replace with lower case  
KeyField  Boolean  Required fields  
MinWidth  Number  Minimum column width 
MultiLineText  Boolean  Whether to use multilines  
PointCount  Number  Decimal place count when column 
type is float.  
RadioIcon  Boolean  Select a checkbox -type button image 
within data cell  
ShowCol  Number  Set the column to display as column 
value when multi combo is set  
TrueValue  String Set true value for checkbox colums 
whose true value is not 1. If set "M", 
"M" can be used as True value instead 
of 1. 
Width  Number  Column width  
For detailed description of each property, see InitColumns Method desription.  
 Syntax  
Syntax  ObjId. SetColProperty (DataRow, Col, Prop);
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
DataRow  Number  Required  Unit data row index  
Col Number  / 
String  Required  Index or SaveName of the target 
column  
Prop Object  Required  Column property definition object  
 Example  
// Change the combo list of the third column  
var info = {ComboText: “New|In Progress|Completed “, ComboCode: 
“ 01|02|03 ” }; 
mySheet.SetColProperty( 0, 3, info);
// Change the combo list of the 1st and 3rd column of the unit data rows  
var info = {ComboText: “New|In Progress|Completed “, ComboCode: 
“ 01|02|03 ” }; 
mySheet.SetColProperty( 1, 3, info);  
SetConfig  Method  
 Purpose  
In this method, you may configure how to fetch initialized sheet, location of frozen rows or 
columns and other basic configurations.
 Syntax  
Syntax  ObjId. SetConfig ([cfg]) 
 Info 
Return  None 
Parameter  Type Required 
Y/N Description  
cfg json Optional  The parameters to send are in JSON 
type. Put configuration information  
into JSON format and send it to the 
server.  
< 세부내용 > 
Parameters  Type Description  
AutoCloseDialog  Boolean  Configure whether to automatically 
close Combo list, calendar pop -up, 
action menu popup.  Default=0.  
When you set to close automatically, 
those pop-ups or list will close 
automatically when mouse moves out 
of cell.  
ChildPage  Integer  In tree structure, page unit count of 
child rows (Default=0)  
ComboMaxHeight  Integer  Combo list max height  
DataRowMerge  Boolean  Whether to allow horizontal merge of 
the entire row (Default=0)  
DragCell  Boolean  Whether to allow cell dragging  
Default=0.  
DragMode  Integer  Drag effect (Default=0)  
FrozenCol  Integer  Number of frozne columns in the left 
(Default=0)  
FrozenCol Right Integer  Number of frozne columns in the right 
(Default=0)  
HeaderCheckMode  Boolean  When Check All is checked whether to 
check filtered rows Default=0.  
HeaderMergeMode  Boolean  Configure header merge mode  
Default=0.  
KeyFieldPosition  String Configure where to put required field 
marker  
(Default= ”Left”) 
MaxSort  Integer  Set the max number of columns to sort 
by clicking on the header (Default=3)  
MergeSheet  Integer  Merge type (Default=0)  
NewRowDeleteMode  Boolean  Whether to display confirmation 
window when a new row is deleted. 
Default=0.  
NextPageCall  Integer  Configure when the next page is called 
in case the search mode is server 
paging, LazyLoad.  
The value should be set at a percentage 
value between 60 -90. 
Page Integer  Number of rows to display in one page 
(Default=20)  
PrevColumnMergeMode  Integer  Configure how to merge previous 
column in LazyLoad (0: entire page, 1: 
within one page (Default)  
SearchMode  Integer  Configure search mode (Default: 2)  
SizeMode  Integer  Configure sizing mode  
Default=0.  
SmartResize  Boolean  Whether to use SmartResize (Default:0)  
SortEventMode  Boolean  Whether to return information of all 
sorted columns when OnSort event 
fires. Default=0.  
SumPosition  Boolean  Location of sum row  
(1: Frozen at the bottom (Default), 0: 
Frozen at the top)  
ToolTip  Boolean  Display tooltip  in a cell Default=0.  
TouchScrolling  Integer  Configure touch scroll mode  
(0: Not use, 1: General use (Default), 2: 
Delayed movement)  
UseHeaderActionMenu  Boolean  Configure whether to use header 
context menu  
If header menu is set as "use" and 
header menu is not configured, default 
menu will automatically display.  
(See HeaderActionMenu ) 
0: Not use -Default, 1: use  
UseNoDataRow  Integer  Whether to display "There is no search 
result" message when there is no search 
result 
(0: Not use, 1: use (Default))  
VScrollMode  Integer  Configure verical scroll bar display  
(0: Auto (Default), 1: Frozen)
ChildPage configures LazyLoad paging count unit for child rows in a stree structure. This applies 
only when a value is set.   
(To use this property, SearchMode should be set smLazyMode.)  
ComboMaxHeight is the maximum height of combo list of combo type. When set 0, the height 
will be automatic ally configured to fit the browser height. Height can be set by pixel.
DataRowMerge  can be used to configure whether to allow horizontal merge of the entire row. 
The default value is 0.  
DragMode  is where  you can configure effect of dragging. The default value is 0.  
Value Details  
-1 - Not use drag  
0 
(Default)  - General: select a range of cells or rows  
- Use Ctrl key: Drag rows  
1 - General: Drag rows  
- Use Ctrl key: select a range of cells or rows
FrozenCol  is where  you can select the frozen column count in the left. The default value is 0.  
FrozenColRight  is where  you can select the frozen column count in the right. The default value 
is 0.
HeaderMergeMode  is where  you can configure horizontal merge mode of header. When set 0, 
merge will be allowed regardless of the ColMerge setting. When set 1, merge permission will 
follow ColMerge property setting.  
KeyFieldPosition  is where  you can configure where to put required field marker. The default is 
Left. 
Value Description  
Left Left to the header text  
Right Right to the header text
MergeSheet  is where you can configure merge styles. The default value is msNone.  
Constant 
value Value Description  
0 msNone  No merge is allowed; Default  
1 msAll Allow merge for all  
2 msPrevColumnMerge  Merge is allowed for rows where they 
are merged in the previous column.  
5 msHeaderOnly  Allow merge in the header rows only  
7 msPrevColumnMerge 
+ msHeaderOnly  Merge is allowed for rows where they 
are merged in the previous column  
+ allow merge in the header  
Page is where  you may configure paging unit size for paging mode, LazyLoad mode or real -time 
server processing mode. The default value is 20.
SearchMode  is where  you can configure search mode by selecting one from General, Paging, 
LazyLoad or real -time server processing modes. The default value is 0.  
Constant 
value Value Description  
0 smGeneral  General search mode  
Search all data and display all result data on 
the screen.
1 smClientPaging  Paging mode  
Search all data and page the result 
according to Page property configuration.  
2 
smLazyLoad  LazyLoad mode  
Search all data and display search result data 
on the screen by page as set in Page 
property value according to the scroll 
location
3 
smServerPaging  Real-time server processing mode  
Receive only partial search results 
corresponding to the scroll location from the 
server and display them on the screen. Data 
not displaying on the screen will be lost.  
SizeMode  is where  you can configure how to handle size. You may apply the sizes configured 
when creating IBSheet  object to consigure this property.  The default value is sizeAuto.  
Constant 
value Value Description  
0 sizeAuto  Use the height and width as configured 
(Default)  
1 sizeNoVScroll  Automatically adjust height to remove 
scroll 
Height value configured upon creation 
will be ignored.  
2 sizeNoHScroll  Automatically adjust width to remove 
scroll 
Height value configured upon creation 
will be ignored.  
3 sizeNoBothScroll  Automatically adjust width and height to 
remove scrolls  
Width and height value configured upon 
creation will be ignored.
SmartResize is an improvement to Resize.  When this property is set as 1 (true), Sheetdml 
Resizing will be done and OnResize event will fire if there is no recurrence for a certain span of 
time (300ms) from the initial occurrence. This property may come in handy if you have any 
resizing performance issue for a sheet with a large amount of data.  
SumPosition  is where  you can configure location of the sum row. The default value is posBottom.  
Constant 
value Value Description  
1 posBottom  Fix the sum row to the bottom row.  
0 posTop  Fix the sum row to the top row.
ToolTip  is where  you can configure whether to display tooltip  for a cell. The default value is 0. If 
you change the setting to 1, tips will display in a balloon when mouse hovers over the cell.  
 Example  
//Paging mode search sample  
cfg= {SearchMode:1, Page:20};  
mySheet.SetConfig(cfg);
SetDown2Excel Config  Method  
 Purpose  
In this method, you may configure some basic settings for excel download.  
 Syntax  
Syntax  ObjId. SetDown2Excel Config ([cfg])