Skip to main content
1-Visitor
October 8, 2015
Question

HI, i want to delete the entire row if that row contains any null cells, in jLink automation?

  • October 8, 2015
  • 0 replies
  • 541 views

In j-link automation , the table already available with drawing. in that multiple rows are there , in that if any cell contains null value i need to delete the entire row.

For that i am using the below code,

TableCell  Mytablecell= pfcTable.TableCell_Create (k, 2);

                   DetailNoteItem cellNote =(DetailNoteItem) MyTable.GetCellNote(Mytablecell);

                        if(cellNote==null){

                            MyTable.DeleteRow(k, Boolean.TRUE);

                        }

but this code deleting the row if the entire row is empty.

How to get the each cell value in the table.??

Waiting for your reply


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.