EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 15, 2024, 11:47:21 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
>
datagrid background color rows
Pages: [
1
]
« previous
next »
Print
Author
Topic: datagrid background color rows (Read 6100 times)
frankz
Newbie
Posts: 16
datagrid background color rows
«
on:
March 03, 2018, 09:01:15 AM »
how can I set the background colors to alternating rows in a datagrid?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: datagrid background color rows
«
Reply #1 on:
March 04, 2018, 02:14:39 AM »
Please set 'striped' property to true.
Logged
frankz
Newbie
Posts: 16
Re: datagrid background color rows
«
Reply #2 on:
March 04, 2018, 08:45:32 AM »
Yes it's work, but what change the colors ?
Thanks.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: datagrid background color rows
«
Reply #3 on:
March 05, 2018, 02:25:28 AM »
Please add this code to override the striped row's style.
Code:
<style type="text/css">
.datagrid-row-alt{
background: #ccc;
}
</style>
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...