Hello,
I am fetching data from server only when user request. And ID of grid is, dynamic. User can create as much list as they want.
isc.ListGrid.create({
ID: newID+'_user_created',
width:"100%", height:"100%",
alternateRecordStyles:true,
dataSource: myDataSource
});
No I want to find ListGrid object and fetchData.
I tried
(newID+'_user_created').fetchData(); // but it raise error.
ListGrid[newID+'_user_created'].fetchData(); // undefined
How can I retrieve it by Id??
Thanking you.
I am fetching data from server only when user request. And ID of grid is, dynamic. User can create as much list as they want.
isc.ListGrid.create({
ID: newID+'_user_created',
width:"100%", height:"100%",
alternateRecordStyles:true,
dataSource: myDataSource
});
No I want to find ListGrid object and fetchData.
I tried
(newID+'_user_created').fetchData(); // but it raise error.
ListGrid[newID+'_user_created'].fetchData(); // undefined
How can I retrieve it by Id??
Thanking you.
Comment