jQuery UI Widgets › Forums › Grid › jqxgrid rowselect change css color of cell value (Linkrenderer column)
Tagged: angular grid, angular2 grid, bootstrap grid, javascript grid, jquery grid, jqwidgets grid, jqxgrid, typescript grid
This topic contains 5 replies, has 2 voices, and was last updated by Hristo 9 years ago.
-
Author
-
January 30, 2017 at 5:04 pm jqxgrid rowselect change css color of cell value (Linkrenderer column) #91117
Hi is there a way during rowselect and rowunselect, to change the color of the rows that has the linkrenderer?
Example:
First Name Last Name Product Order Date
Elio Saavedra Doubleshot Espresso 24-January-2016 6 $3.30Product column has the linkrenderer. I want to change the color of that cell value when doing rowselect and rowunselect
Here is my jsfiddle:
http://jsfiddle.net/G9KY5/499/January 31, 2017 at 1:10 pm jqxgrid rowselect change css color of cell value (Linkrenderer column) #91131Hello dan123,
You could try use
.jqx-grid-cell-selectedof the Grid, you could find more in our API Documentation.
Please, take a look at this example.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comFebruary 1, 2017 at 2:38 pm jqxgrid rowselect change css color of cell value (Linkrenderer column) #91165Hey I want to change the font color of the link renderer. Not the background. I tried with the color css property and didnt work
February 2, 2017 at 12:45 pm jqxgrid rowselect change css color of cell value (Linkrenderer column) #91204Hello dan123,
You could try on that approach:
.jqx-grid-cell-selected:nth-child(3) a { text-decoration: none; color: #ccc; }Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comFebruary 4, 2017 at 1:41 am jqxgrid rowselect change css color of cell value (Linkrenderer column) #91273Hi Hristo,
Whenever there are more columns and as I start scrolling right, the css doesnt apply to that column anymore.
February 6, 2017 at 10:46 am jqxgrid rowselect change css color of cell value (Linkrenderer column) #91308Hello dan123,
This is a custom development I give you the suggestion how to achieve this.
You could usecellclassnamecallback with suitable conditions as in this demo.
I would suggest you to look at those forum topics:
http://www.jqwidgets.com/community/topic/selection-mode-checkbox-color-row-on-click-of-cell/
http://www.jqwidgets.com/community/topic/how-to-change-cell-color-in-grid/Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.