PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: Prajin P K on October 25, 2018, 09:20:14 AM

Title: Folder Control
Post by: Prajin P K on October 25, 2018, 09:20:14 AM

Hi Team,
        I would like to bind data in the list box, when the user clicks folder control tab. I couldn't find solution for this. Please suggest.

Thanks,
Title: Re: Folder Control
Post by: James Zukowski on October 25, 2018, 09:45:40 AM
I'm not sure exactly what you're looking for, but have you looked into the Preserve Controls option on the Folder Tabs Definitions page?
https://manual.pvxplus.com/PXPLUS/NOMADS%20Graphical%20Application/Creating%20Panel%20Controls/Folder%20Controls/Folder%20Properties.htm (https://manual.pvxplus.com/PXPLUS/NOMADS%20Graphical%20Application/Creating%20Panel%20Controls/Folder%20Controls/Folder%20Properties.htm)
Title: Re: Folder Control
Post by: Mike King on October 25, 2018, 10:30:41 AM
List boxes can be defined as "Smart" which means their contents will be loaded directly based on a query definition.  What you do is first create a Nomads query that defines the data you want loaded, then define this query as a Smart Load for the list box.  If desired you can specify triggers as to when the query is to run and/or be refreshed along with data to pass to the query so the contents can be filtered.

We did something like this in the "Bells and Whistles" portion (Part 5) of our Live in 30 video presentation (https://forum1.pvxplus.com/index.php?topic=50.0) on this forum.  While this was actually targeted for iNomads, the exact same logic works in plain Nomads as well.
(The Nomads screens in the video are from a prior release but the setup/functionality is the same on newer versions)


I am not certain what you asking about when you mention Folders, perhaps you can clarify.