on 08-11-2014 4:13 PM
Hi Experts,
I really need your help. I need to hide a column in a UI table element based on certain criteria. I've successfully done that, however, there is now a gap where that column resided. Is it possible to "condense" the columns together to remove that gap and if so how?
Thanks!
Julie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nitin,
That's a very nice blog! In order to meet the deadline, I had to go about this in a different way. However, I have book marked your blog so that I can use this feature in the future. Can you answer one question for me? I see that you have the width of the column to be hidden set as 0 in the initialize event. Should the same 'IF (GV.FLAG.rawValue eq null)" code also be included? Or does the 0 width make that column "variable" so when presence = "hidden" is used, the width then becomes 0?
Thanks!
Julie
Hi Julie,
Please write a condition using NULL instead of value.
Hope this helps...
---
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen,
Could you elaborate on your response a bit more? I'm not sure what condition I should be using as NULL. Here is my scripting:
IF ($record.V_GI_DATE.isNull) then
this.HeaderRow.GI_DATE.presence = "hidden"
this.Row1.GI_DATE.presence = "hidden"
endif.
This works fine hiding the column, but leaves a gap.
Julie
hi
i think it might be helpful for you :
http://blogs.adobe.com/formbuilder/2006/10/scripting_table_columns.html
also you can check this very good tutorial for scripting purpose:
http://assuredynamics.com/wp-content/uploads/2010/11/Assure-Dynamics-Building-dynamic-tables.pdf
hope this help,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.