on 03-17-2010 8:57 AM
Hi Experts,
I have a table with multi selection option enabled. Now depending on some database conditions i have to make few rows of table disabled for selection. For example say i have 5 rows in that table. I want to make lead selection of 2 rows disabled and keep the selection property of rest three rows enabled. Is this possible if yes can some one suggest me how??
Regards
Pranav
Hi Everyone,
Thanks a lot for reply.
@murali : Can you please suggest which propert i need to set to disable the row element.
@Arun: From what i can understand from your reply is "That will make the table invisible". May be i am not correctly interpreting your reply. Can you elaborate.
@Yogesh: UI changes strictly depend on client. That might not be possible in current situation.
Regards
Pranav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
may be you catch the size of the table and run a for loop
and a if / condition setLeadSelection(i) and disable all the row elements on lead selection by setting boolean attributes
as false / true condition and use else condition to enable .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pranav,
You can try with Table properties <rowSelectable> bind to context attribute of
type : com.sap.ide.webdynpro.uielementdefinitions.Visibility inside table node
Method or supply function where you are filling table use below based on you criteria
wdContext.currentContextElement().<Attrivite name>(WDVisibility.VISIBLE);
wdContext.currentContextElement().<Attrivite name>(WDVisibility.NONE);
Hope it helps,
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
You have to check condition only on particular row selection and show popup msg or unselect when user is trying to select.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.