on 2005 Nov 11 1:24 PM
Hi,
I am using Generic TableSorter class.When there is empty column in the table and if i click the column header(to Sort or accidentaly pressed) it is crashing.
How can i solve this problem.I thought of checking in the onActionSort method if the column is empty and then decide to execute the satement
wdContext.currentContextElement().getTableSorter().sort(wdEvent, wdContext.nodeCustomer());
But i dont know how to check if the column is empty ?.May be some of you might know how to solve this in better way than mine.All your help is appreciated.
Thanks
Hello Baskaran,
Are you using TableSorter from dynpro tutorial? What kind of errors are you getting? To check whether node is empty you can call method size() from IWDNode
if( 0!=wdContext.nodeCustomer().size() ) { ...
}
.
Best regards, Maksim Rashchynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
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.