Related List Headers
I use this to change the headers of my list.
$.each( $("[id*=IHREASON]") , function () {
$(this).closest('th').html('<center><b>If no admitting/discharge <br />diagnosis and inpatient admission <br />was not for a procedure, what <br />was the reason for the <br />inpatient admission?</b></center>');
});
It works great but after I do an inline edit it goes back to the standard internal name.
I tried this but it does not change the header back. Do you have any suggestions?
$('[id*=IHREASON]').mouseover(function() {
$.each( $("[id*=IHREASON]") , function () {
$(this).closest('th').html('<center><b>If no admitting/discharge <br />diagnosis and inpatient admission <br />was not for a procedure, what <br />was the reason for the <br />inpatient admission?</b></center>');
});
});
Thank you.
$.each( $("[id*=IHREASON]") , function () {
$(this).closest('th').html('<center><b>If no admitting/discharge <br />diagnosis and inpatient admission <br />was not for a procedure, what <br />was the reason for the <br />inpatient admission?</b></center>');
});
It works great but after I do an inline edit it goes back to the standard internal name.
I tried this but it does not change the header back. Do you have any suggestions?
$('[id*=IHREASON]').mouseover(function() {
$.each( $("[id*=IHREASON]") , function () {
$(this).closest('th').html('<center><b>If no admitting/discharge <br />diagnosis and inpatient admission <br />was not for a procedure, what <br />was the reason for the <br />inpatient admission?</b></center>');
});
});
Thank you.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Do you want to modify view of a column in the Related Items control? If so, use JSLink:
https://www.codeproject.com/Articles/62 ... List-Views
You can set JSLink in the View property of the Related Items control.
Do you want to modify view of a column in the Related Items control? If so, use JSLink:
https://www.codeproject.com/Articles/62 ... List-Views
You can set JSLink in the View property of the Related Items control.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 6 guests