Page 1 of 1

Align Text to center just in list page

Posted: Wed Feb 01, 2023 9:07 am
by christ2000

Hello, i am using this code to try to align the center to center just on the list page and put the code on startup script - list page

$("#x_GroupLoad_1").css("text-align", "center");

but it is not working, is there any other solution for this?
thanks


Re: Align Text to center just in list page

Posted: Wed Feb 01, 2023 9:35 am
by christ2000

I found this solution on row_rendered:

$this-><fieldname>->CellCssStyle = "text-align:center;";

thanks