IlsSwGetRowFromDs
Category
Global function
Environment
Rogue Wave Server/Rogue Wave Views component
Description
This function returns the row, if any, associated with the data source. In the Rogue Wave Views Script mapping, row numbers start from zero. The function returns null if the data source is not a Server data source. If the optional row number is not provided, the current row is returned.
Synopsis
IlsSwRow IlsSwGetRowFromDs(IlvSwMemoryDataSource ds,
Optional Int rowno)
Example
var ds = ...;
var currentRow = IlsSwGetRowFromDs(ds);
var firstRow = IlsSwGetRowFromDs(ds, 0);
See Also
IlsSwGetRow,
IlsSwRow (Script classes)
Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.