You need to sign in to do that
Don't have an account?
bdardin
conditional datatables
I want to be able to display a datatable for one object based on some criteria, and if the criteria is false, it will display a different datatable showing data from a different object. I have tried doing this with two separate datatables with complementary rendered attributes, but they just always came up blank. What would be the way to do this?
you should get that done easily with VF, Can you post your code? I am take a look.
Maybe you can see http://www.kacrud.com/demo
This is the relevant part of my attempt:
I want the Product Serviced heading to show up for both of them. {!pmrList} refers to a list in a controller extension - I'll produce that code here in case that's relevant:
The pmrList pulls through fine when I don't have the rendered attribute. But with it, neither of them show up. I know I'm doing it wrong, but how? The visualforce guide isn't very clear.