Skip to Main Content

get row count of filtered view object in backing bean

Abdelrahman ElGiarMay 26 2022 — edited May 26 2022

Hello ,
what's the best practice to filter view object and get row count in bean ?
ex : i have 3 tables
first table master , second table detail , third table detail for the detail .
I need to get the row count of the third table that filtered with the first table pk
when i use third_itertaor.getRowSetIterator().getRowCount(); show only count of rows that detailed for second itertaor .
when i use third_itertaor.getViewObject().getRowCount(); show all rows in the table
i need to count third table rows that detailed for the current row of first table.
my Jdev ver :

Post Details
Added on May 26 2022