EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
April 29, 2024, 10:33: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
>
EasyUI for jQuery
>
Panel Header css background-color
Pages: [
1
]
« previous
next »
Print
Author
Topic: Panel Header css background-color (Read 5400 times)
sky-t
Full Member
Posts: 145
Panel Header css background-color
«
on:
August 20, 2017, 02:37:30 PM »
Hi there,
how can i change the complete header background-color of a panel?
Thank you
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Panel Header css background-color
«
Reply #1 on:
August 21, 2017, 01:33:59 AM »
Call the 'header' method to get the panel header and then you can call the native 'css' method to change its style.
Code:
var header = $('#p').panel('header');
header.css('background', '#ddd');
Logged
sky-t
Full Member
Posts: 145
Re: Panel Header css background-color
«
Reply #2 on:
August 21, 2017, 09:32:05 PM »
Hi stworthy,
this is working perfectly!!!
Thank you very much!!!
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...