EasyUI Forum
May 16, 2024, 05:58:54 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid : style of selected rows  (Read 11466 times)
Fabrice
Jr. Member
**
Posts: 62


View Profile
« on: February 26, 2015, 02:22:17 AM »

i need to apply style of rows in a datagrid (background color of entire row), problem is that i don't see selection when mouse is on these rows or if these rows are selected!

is-it possible to apply special style for selected row (bold border for exemple) and when mouse passes over a row?
Logged
Opan Mustopah
Full Member
***
Posts: 164


Indonesia


View Profile Email
« Reply #1 on: February 26, 2015, 02:45:32 AM »

i have same problem here.
Logged

-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
thecyberzone
Full Member
***
Posts: 176



View Profile Email
« Reply #2 on: February 26, 2015, 08:08:17 AM »

you can use following CSS for your requirements -

Code:
.datagrid-row-over,
.datagrid-header td.datagrid-header-over {
  background: #f00;
  color: #fff;
  cursor: default;
}
.datagrid-row-selected {
  background: #ffe48d;
  color: #000000;
}

Change color and/or border style for these class only.
Logged
Fabrice
Jr. Member
**
Posts: 62


View Profile
« Reply #3 on: March 02, 2015, 06:24:31 AM »

Thank's,
I try to make effects like border color and width but it does'nt work (for selected row) !

i try also to magnify row (change font size for exemple) when hover without result.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!