TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >

 

GetDataSetRowIndex

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > TextBox > Method >

 

GetDataSetRowIndex

 

 

Gets the cursor index of the current row.

 

 

 

Prototype :

 

integer GetDataSetRowIndex

(

       [ string DataSetPath ]

)

 

 

 

Arguments :

 

DataSetPath

DataSet Path in the form of "ODI name.dataset name"

can be omitted or set to null or ""

 

 

 

Reference :

 

An One-Based Index will be returned.

 

If dataset path is omitted or set to null or "", the dataset path of the band will be applied by default.

 

 

 

Example :

 

//ODI name : Sample, dataset name : Orders

  _TraceLn(This.GetDataSetRowIndex("Sample.Orders"));

 

//ODI can be omitted

  _TraceLn(This.GetDataSetRowIndex("Orders"));

 

//Dataset path can be omitted or set to null or ""

  _TraceLn(This.GetDataSetRowIndex());

  _TraceLn(This.GetDataSetRowIndex(null));

  _TraceLn(This.GetDataSetRowIndex(""));

 

 

 

Available Events :

 

OnBind,  OnStartBind