It's all about the answers!

Ask a question

printing Nil when table is empty when a static heading is there inside table


sreenath v (78167) | asked Dec 12 '18, 6:30 a.m.
Hi,

i have a table which prints all childworkitem ids.Now if childworkitem is not there i need to remove entire table and instaed i need to print Nil.if row is empty am getting static text like "id","type".How can negelct this and print nil?

Comments
sreenath v commented Dec 12 '18, 6:52 a.m.

i made row repeat at page beggining == true and table side i gave a variable which contains NIL value for remove if empty.

One answer



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Dec 12 '18, 11:40 a.m.

Since you want to print the table only when there is at least one record, you should use condition for the table.


Comments
sreenath v commented Dec 12 '18, 8:55 p.m.

The data is printing when it have record .And  if there is no record,the table is showing the static heading of cell.So I want to print NIL instead of that table when table doesn't contain any value.So I gavegvariable value in remove table when empty .But result is showing only the static header cell.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.