IlsSwGetNamedDs
 
IlsSwGetNamedDs
Category 
Global function
Environment 
Server/Views component
Description 
This global function returns the named data source in the panel. This function replaces the standard Rogue Wave Views mechanism used to find a data source in a panel, because Server-created data sources are not inserted in the pane and so cannot be retrieved via a call to getObject on the panel.
Synopsis 
IlvSwMemoryDataSource IlsSwGetNamedDs(String name,
IlvContainer cont)
Example
function OnLoad(panel) {
var ds = IlsSwGetNamedDs("DomNodes::table", panel);
ds.getColumn("x").tableColumn.format="00.0#";
}
See Also 
IlsSwServerDataSource (Script class)

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.