on 04-17-2006 12:16 PM
Hi All,
could anybody help me to solve my problem?
I have ceated a table in webDynpro which has only one row. I want to show the row as nonSelected and want to get the data from the table row without selecting that
row.so is it possible? If possible then how?
could anybody help me?
With Thanks & Regards
Sudip
Message was edited by: SUDIP SEN
Hi Sudip,
Set the Table RowSelectable property as false in order to disable row select.
To get data from the table you can use the following code:
I<node name>Node myValues =wdThis.wdContext().node<node name>();
int n = myValues.size();
for (int i = 0; i < n; i++)
{
IPrivate<view name>View.I<node name>Element myElement =
wdContext.node<node name>().get<node name>ElementAt(i);
myElement.get<Attributename>();
}
Regards,
Rajeev Ranjan
Message was edited by: Rajeev Ranjan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Sudip,
if u don't want ur first row to be selected,set the
initializeLeadSelection proprtty of the node to 'fale'.
sice u have only one record in the table u can access row data by using ElementAt(0) method.
WdContext.node<nodeName>.get<nodeName>Elemenat(0).get<Attname>().
i hope this solvs ur problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.