NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: MyBrainIsFull on January 13, 2015, 09:38:50 PM
-
Might be a bug - might be I have missed something.
I have a browse, customer does not want to see one of the columns if the product = 'xx'
So I go to the browse field and set the column to be conditional
ie if pro:ProductType ~= 'Stock Item' - See image attached
GREAT, that works - BUT the header remains
ie CPE Points the column data is "hidden", but the header "CPE Points" remains, and so it now sits over the $ RRP column, and all the columns there after are over one position
???
[attachment deleted by admin]
-
it's looks like the browse is on Products right? So when it evaluates the condition for the header the row is likely not loaded, so the result of the condition could be anything.
It seems to me a better condition would be based on the value of the "category" selected on the left.
-
Good theory Bruce
I tried variations on the Column Condition, taking your advise on the relationship between the parent ( CategoryShop catS: ) and the child (Product pro:) I made the condition that the product type (pro:typeId) as per the relationship, is fixed to the id value of the category for the word "Stock Item" which is id=2
As this field is not in the browse, I made it a View Field pro:TypeId
So for the value of 2 (stock Item) the product browse should evaluate the Column Condition and not display the training points (Pro:CPEPoints)
Once again the header remains.
See second image uploaded for this test.
[attachment deleted by admin]
-
I presume sorted after yesterday's User Group webinar?