EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 09:15:06 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
[SOLVED] Datagrid column header color
Pages: [
1
]
« previous
next »
Print
Author
Topic: [SOLVED] Datagrid column header color (Read 6175 times)
jega
Full Member
Posts: 190
[SOLVED] Datagrid column header color
«
on:
November 16, 2017, 07:48:19 AM »
Have looked at another topic, but can't get this to work
<thead>
<tr>
<th class="headerColor" colspan="4">H1</th>
<th colspan="4">H2</th>
<th class="headerColor" colspan="4">H3</th>
</tr>
If i use $('.headerColor').css('background','#ccc') it does not make color to H1 and H3
Any help
«
Last Edit: November 17, 2017, 04:28:50 AM by jega
»
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: Datagrid column header color
«
Reply #1 on:
November 17, 2017, 12:35:16 AM »
Assign the 'id' property to the columns.
Code:
<th data-options="id:'col1',colspan:4">H1</th>
<style>
#col1{
background:#ccc;
}
</style>
Logged
jega
Full Member
Posts: 190
Re: Datagrid column header color
«
Reply #2 on:
November 17, 2017, 04:28:18 AM »
Hi Jarry
Thank you very much. Always fast help.
Regards
Jesper
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...