Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Remove all the rows in table

Hi Experts,

I have a requirement of removing all the rows in a table no matter whether they selected or not . How to do it throgh programming. I tried using the corresponding node.invalidate() method. but ! data is not going in the table at front end .

any help please

thanks

Suresh

Former Member
Former Member replied

Hi,

if table bind with value node use invalidate() .

if it is bind with modal node use,

IPrivate<view name>.ITaleNode iTableNode = wdContext.nodeTable();

for (int i = iTableNode.size(); i > 0; i--){

iTableNode.removeElement(iTableNode.getElementAt(i - 1));

}

Regards,

ramesh

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question