Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Deletion of selected rows in WD Java table

$
0
0

Hi Ghanshyam..

 

Create an attribute(Boolean) at table level node (0..n).

 

and create one action for delete selected rows. and put below code..

 

*************************

 

IPublicVcTrgCrtOrdComp.I<your value node>Element element;

 

 

      for(int i = 0; i< wdContext.node<your value node>().size();i++)

      {

       element = wdContext.node<your value node>().get<your value node>ElementAt(i);

    

       if(element.get<selected attribute>() )

       {

        wdContext.node<your value node>().removeElement(element);

        i = i-1;

       }

   

      }

 

********************************

 

Thanks & Best Regards

Aasif Shah


Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>