on 02-23-2015 5:31 AM
Hi Experts,
In SSCE how can we achieve the following;
1. Trigger a RowSelection event. [like <param name="SelectionEvent" value="<<Script>>" />]
2. Hide a i5Grid. I want to use the i5Gird to retrieve the data and not for display
MII Version: 15.0 SP03 Patch 0.
Any help would be highly appreciated.
Regards,
Hi Sridhar,
You can trigger a Row Selection Event for a i5Grid in SSCE by adding the below code in the custom code area.
grid_c0c0.registerRowSelectionEventHandler(myHandler);
function myHandler()
{
alert("Row Selected");
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sridhar,
For the 2nd point. you can create a Grid in custom code like this
var grid_c0c1 = new com.sap.xmii.grid.init.i5Grid("Default/i5Grid","Default/tagQ",true);
window["grid_c0c1"].update(true);
It will give an error, saying “oDomref must not null”, But in chrome we can still work.
Regards,
Sriram
Hi Srram,
Thanks for your email.
I don't think, for ssce components we can update code. Only we can write scripts in 'Add Custom Code Here :' frame and attach it to the UI controls.
Is there a way we can set Events when the i5Grid object is created. [Ex: Rowselect, size, etc]?
For now, i am registering events on some other event.
Thanks,
Shridhar
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.