on 2005 Aug 12 8:12 AM
Hello All,
I need to make some columns of a table invisible on
LeadSelect
event.
view
handle is not available. So how can this be done?
Regards,
Aayush
Hi Aayush,
You can get the attribute of type visibility in the dictionary simple type-> local dictionary->com.sap.ide.webdynpro.uielementdefinitions->visibility
Map it with visibility property of column which you want to make invisible and in the leadSelect() of the table. Write the code.
wdContext.currentContextElement.setVisibility(WDVisibility.NONE);
Hope this helps.
Regards,
Jaydeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You are supposed to write dynamic UI modification codes inside wdDoModifyView.
It will have the handle for the view object.
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can create a context attributes of type "WDVISIBILITY" for the columns and on lead selection use the following
wdContext.currentContextElement().set<ContextAttribute>(WDVISIBILITY.NONE)
Regards,
Shyam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aayush,
You have bound table to a node.
Bind the visibility property of the columns you want to change visibility to context attribute of type visibility
Bind onLeadSelect to an event
When the event is fired
write the code
wdcontext.currentcontextelement.set<attribute name>(wdvisibility.none);
In init write
wdcontext.currentcontextelement.set<attribute name>(wdvisibility.visible);
Hope this helps you
Regards
Rohit
Message was edited by: Rohit Radhakrishnan
Message was edited by: Rohit Radhakrishnan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aayush,
If i am not wrong you can do this through context programming.
Create context attrib of type WDVisibility and assign to column Visible property .
On leadSelection of table change the property.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.