Hi,
how can we change the master table background color when it is showing it on the top in the detail table?
Master Table Color Change
-
- User
- Posts: 125
Master Table Color Change
-
- User
- Posts: 9498
If you use vertical master table, you only need to add CSS classes for table.ewMasterTable. Otherwise,
You can use CurrentTable->getCurrentDetailTable() and CurrentTable()->getCurrentMasterTable() to check if the page is in Master/Detail View or List page.
(Assuming you are talking about Master table view page with showing detail record list.)
You can use below code in Startup Script of the master table view page to change the font color of the master table.
For example:
<?php if (CurrentTable()->getCurrentDetailTable() <> "") { ?>
$(".ewViewTable").css("color","red");
<?php } ?>
Remember to write your own code first, and post your code here for further discuss.