Android Question b4xtable row count

abdo.b4a

Member
Dear All
How i can get the total row count shown in b4xtable when writing in Search Field ?
using b4xtable.size retrieve the total rows selected by Query , but when writing in SearchFiled the size is not correct

Thanks in advance
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
but when writing in SearchFiled the size is not correct
How can it be not correct it is not displayed?

1595399326828.png
 
Upvote 0

abdo.b4a

Member
using B4xtable.size , i get the total row count ... that's right
now , when i write in SearchField , the b4xtable will be filtered and view the rows that meet what is written in SearchField but the B4xtable.size STILL give the total rows .
What i need exactly :
I have a Label (lbl1) which i used to view the total rows displayed in the table .
in B4xtable_DataUpdated , i added this line : lbl1.text = b4xtable.size , it works fine . but when writhing in SearchFiled , the row count is not updated !

Many Thanks .
 
Upvote 0
Top