on 08-03-2009 12:38 PM
Hi,
Is there any way you can compare two rows of the table?
Without element.getAttribute for each cell on each row...
Regards
BP
Hi BP
It's slightly depends on the purpose why you need to do so. Sometimes it seems necessary to compare the row modified by user with the original row. If this is your case then you can use the following Webdynpro API in order to check if the element was modified by client or not:
boolean IWDNodeElement.isChanged();
boolean IWDNodeElement.isChangedByClient();
If this is a model node then you can switch from elements comparing to the model instances comparing. Some model instances implement fully standard equals(...) operation. But it depends, of course, on a model type.
In general I do not see any other solution better then attribute-by-attribute comparing.
BR, Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use TableSorter functionality (you will need to enhance it)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I dont think this is possible. This is something related to Java Object.
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
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.