Count total Listbox items

asked 2019-09-14 01:03:56 +0800

bztom35 gravatar image bztom35
53 4

In grid, I can get the total records via onAfterRender='gridCount.setValue("Total Records: "+self.getRows().getChildren().size()+" ");'

is there something similar on Listbox?

delete flag offensive retag edit


Never mind, I figured it out. Just add: "self.getItemCount()"

bztom35 ( 2019-09-14 01:14:45 +0800 )edit

try .getItems().size() function

alexamm ( 2019-12-07 00:22:24 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2019-09-14 01:03:56 +0800

Seen: 9 times

Last updated: Sep 14 '19

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More