Jump to content
uniGUI Discussion Forums
andyhill

Mobile TUinmSelect - Filter Shown Items ?

Recommended Posts

I have 2 TUnimSelects, the first acts as a Parent (holds about 10 items) to the second one acts as the Child to the Parent and holds about 100 items (averaging 10 items per Parent Item).

 

Based on the Parent's ItemIndex I want to Filter the Child Items that are shown to the user.

 

I see Select Enter and Exit Events but see no Item Visibility property. We obviously would need an Item TagID in order to filter against.

 

Please advise how one would go about this (I do not want to delete and add items on each Parent change, I would prefer to Hide/Show items) ? Thanks

Share this post


Link to post
Share on other sites

Hi,

 

I do not want to delete and add items on each Parent change...

 

Excuse me, why this decision does not suit you ?!

Share this post


Link to post
Share on other sites

For a busy website there will be too many DB fetches when there is no need to, it could have been loaded once and then filtered - this will be so much faster with less bandwidth.

Share this post


Link to post
Share on other sites

it could have been loaded once and then filtered

 

Ok, we will try to make a simple testcase (a workaround)

Share this post


Link to post
Share on other sites

×