on 11-08-2010 10:49 AM
I want to select a table row simply by click on every cell. It looks like its possible to add action to cell editor like IWDTextView ? I don't want to use LinkToAction, it should look like simple text.
If the table is for displaying data only, and not inline editing, then you can mark the entire table as Read Only, and each entire line becomes selectable.
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Walter is right, table readOnly property is responsible for this thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Login to SAP NetWeawer Administrator and open whatever view where is table. You can select table row by click on table cell, but it is not a button or link to action. Cell editor looks like TextView or Caption but it has onAction event! Wich UI element is there?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create an action for the LeadSelect event of the table and write the below code in the action fpr accessing the selected row of the table:
int leadSelection = wdContext().node<nodename>().getLeadSelection();
if(leadSelection != -1)
{
wdContext().node<nodename>().get<nodename>ElementAt(leadSelection).get<attribute>();
}
Hope this helps you.
Regards,
Poojith MV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
in implementation u can write the folleowing code :
wdContext.current<TableNode>element.
to access the selected row..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.