Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I skip rows when I use the display table tag ?  RSS feed

Kim Kantola
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I have a collection of data rows that I am using to create a table using the following tag :

Name="command.dataRows" refers to an ArrayList of objects, each of which is displayed in a row of the table.

My question is this, is there a way I can incorporate an if statement to skip some rows based on a data condition ?

for example, if row.dataSelected='false' then skip that row.

An ideas?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!