IlsSwGetRow
Category
Global function
Environment
Server/Views component
Synopsis
IlsSwRow IlsSwGetRow(IlvGraphic graphic, Optional Int rowno)
This global function returns the row, if any, associated with the graphic. In the Views Script mapping, row numbers start from zero.
The function returns null if the graphic is not a field itf (data-source aware) gadget or is not attached to a Server data source. The argument rowno is optional. If it is not provided, the current row is returned.
Example
var currentRow = IlsSwGetRow(obj);
var firstRow = IlsSwGetRow(obj, 0);
See Also
Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.