voyent
Alternate row colors in ace:data table  XML
Forum Index -> Components
Author Message
Thanmai

Joined: 29/Jul/2012 11:30:53
Messages: 3
Offline


Can someone help me how to assign alternate row colors for ace:data table.

Thanks
khandada

Joined: 16/Feb/2009 00:00:00
Messages: 5
Offline


Hey, You have to do the changes in your css to do this job.
[Email]
gio.rossi@tiscali.it

Joined: 18/Jan/2007 00:00:00
Messages: 15
Offline


ICEfaces 3.2.0 - DataTable:rowStyleClass

EL expression NO MORE working in this attribute to produce conditional row styling.
Thanmai

Joined: 29/Jul/2012 11:30:53
Messages: 3
Offline


khandada wrote:
Hey, You have to do the changes in your css to do this job. 



But how can we add external css to an ace: component as it actually have themes
nils.lundquist

Joined: 31/Aug/2010 11:18:29
Messages: 198
Offline


You don't add this to the ACE component. Nor to the framework.

You need to add CSS at application level to enable alternating row styles.

ACE doesn't suggest changing the theme used dynamically, and if so restricting the available themes so you can detect the theme and use different app level CSS tailored for each of your selected themes.

The application developer, when adding alternating row style will need to decide on what colour best suite their design; as the jQuery theme framework embedded in ACE doesn't provide enough styles/colours/states us to represent the differences between hover state / selection state / editing state / alternating row style / disabled state, and so on. Thus the application developer has to tailor CSS styles for a few features, should they decide to use them, for each theme they decide to support.
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team