Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1484 มุมมอง

I have a button on a tree view

The tree view is on model A and model A has a relation with model B

I'd like the button on the tree view on model A to appear only if there are more than 0 related records in B


Model A is based on a hand written query (that creates a view) so I can't store a state field there (or can I ?)

How do I achieve this ?

Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 20
3702
1
ก.พ. 20
2454
4
มี.ค. 15
7859
1
มี.ค. 15
4491
2
ก.ย. 25
771