Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2730
Shifting UltraTabs in source
posted

I have an ultratabcontrol that hads 5 ultratabs, ultratab1, ultratab2, ultratab3, ultratab4, ultratab5.

each ultratab has its own ultragrid, I am trying to write that basically puts the tab first or infront of the ultratabs where where ultragrids have data or records, but if ultragrids does not have rows or data, put the ultragrid tab last within in the ultratabcontrol. the customers wants to keep the ultratab visible at all times.

example

ultratab1: Ultragrid1 has 5 records, ultratab2: Ultragrid2 has 0 records, ultratab3: Ultragrid3 has 0 records, ultratab4: Ultragrid4 has 3 records, ultratab5: Ultragrid5 has 2 records

 

You are basically shifting all of the tabs with ultragrids with no rows to the end of the ultratabcontrol

Output:

 ultratab1, ultratab4, ultratab5, ultratab2, ultratab3.