on 03-11-2008 10:42 AM
Hi,
Can anyone please tell me how to make a cell in a table selectable.
Thanks,
Uma
hai uma,
set the readonly property of table to false and you ll be able to select the cells.Any issues let me know
Thanks n Regards
Sharanya.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uma,
We are also trying the same thing.
The rows can only be selected, if you set the "Read Only" property of the table to FALSE.
Regards
Padmalatha.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Uma
The rows in a table are selectable by default. (Check the property rowSelectable of the table (it should be true)...
to do something on row selection, you need to define an event in onLeadSelect property of the table.
Now to copy the cell value you need to get the value of the context attribute of the current selected node element.
wdContext.currentTableNodeElement().getDesiredAttribValue();
Hope it helps!!!!
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you explain the scenario a little more.
If you want to enter something from the table directly , set the tablecelleditor for that column as Input filed instead of making it a text view.
Regards
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepak,
The issue is - I want to select any cell in the table and want a event triggered for it similar to EVS. The scenario which iam trying is - I have a button , which pops up a table ui. I should be able to select anywhere in the table and get the leadSelected and populate the UI in parent screeen with the values selected in that row.Hope iam clear.
Thanks,
Uma.A
Hi Uma,
Set the selectionMode property of the table to "auto" if you want the whole row to be selected if you click on any cell. OR make the same to "none" so you will be able to select any cell.
You can use onLeadSelect event to perform the action you want to on changing the selection of any row.
Or
if you are using inputfield as tablecelleditor, you can use onEnter event of it. This will perform the action when you press enter after selecting the particular cell.
Regards
Deepak
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.