Posted in: SPARK UI Use Cases
Stephen ChenOctober 27, 2016 at 11:50 am #2955
I am currently using the combination of tab, table, and Link UI control. The tab control has 2 tables, table 1 and table 2. Within each table, there are 2 columns: text column and link column. The text for each link is bind to the current item value. When both tables are first loaded, all information are shown. However, once the reload button is clicked, the links on table 2 will not shown. It just shows empty fields. It seems like the first tab loaded just fine, but the second tab is always missing some fields.Stephen ChenOctober 27, 2016 at 11:54 am #2958
Whichever the tab is shown first will not miss any fields, it is the tab that is not clicked will miss fields.SPARK SupportOctober 27, 2016 at 12:31 pm #2959
What is happening in your reload button? Can you paste the code here?
Stephen P.Stephen ChenOctober 27, 2016 at 12:36 pm #2960
Reload button will just go back to the initialize script and recreate the object.
Thanks for the quick responseSPARK SupportOctober 27, 2016 at 3:12 pm #2963
I replicated your init script with two tables and mine looks good.
Can I see how you are implementing the Link control?
Stephen P.Stephen ChenOctober 28, 2016 at 5:16 am #2964
Here is all the script and process.
Please notice that it works fine when it first loaded, but after reload the link column will not showSPARK SupportOctober 28, 2016 at 3:33 pm #2972
If you can put the service in stand alone TWX file and upload it, I will take a look at it.
Stephen P.Stephen ChenOctober 31, 2016 at 7:55 am #2973
Sorry for the late reply.
The twx file has a client service called Testing – Tab with Table and Link. When it first load, you can go to tab 2 (Table 2), and will see the links are shown. After that, switch back to tab 1 (Table 1). Click reload to reload the table. After reload, click on tab 2 (Table 2) again, and you will see the links are gone.SPARK SupportNovember 2, 2016 at 3:48 pm #2989
I set up a second Tab control with Links underlying some Text controls.
It appears that somehow the Tab control is affecting the enabled property of the link instead of the visibility.
I have reported this to the Development Team as a bug, and we will address this issue in an upcoming release.
Thank you for the feedback.
Stephen P.SPARK SupportNovember 2, 2016 at 4:18 pm #2990
As a work around, if you implement this same scenario in a Heritage Human Service it works as intended.
You must be logged in to reply to this topic.