My application includes a Tree and a DataGroup. Both are connected through PHP to a MySQL database.There is a itemClick event in the Tree which calls a PHP function to query the database and define the content of the DataGroup through a dataProvider which is interpreted by an itemRenderer in TileLayout.
Everything is working fine but the DataGroup is throwing an "ArgumentError: Undefined state 'inactive'" when it is not completely filled. That is when there is space to display 9 items in the DataGroup (3 columns, 3 rows) but the dataProvider includes only 6 items (3 columns, 2 rows), or when the dataProvider is empty.
Do I have to define the "inactive" State somewhere, or how to avoid that error?
Thank you for any help
The problem was the custom skin of the VScrollBar that was used for the DataGroup. Defining the inactive states in the skins solved the issue.