Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nancy on Apr 24, 2008 00:15
open dhtmlx forum
Column type defined as link

Hi,

I have defined first column type as link in a table. So all the values in the first column are dispalyed in blue color with hyperlinks.What happens in my application is that when I click on that hyperlink it loads the page with another table. In this case I want the first column to be displayed as normal text. But sinceI have defined the first column type as link it displays in blue color. I have not given any link so it is displayed as text but with blue color. Is there any way for me to change the color of the first column only for this table.
Answer posted by Support on Apr 24, 2008 03:09
You can defined container specific styles, for example if you have

<div id="gridbox"></div>
var grid = new dhtmlXGridObject("gridbox')
....

you can add next style to your page
#gridbox a {
    color:black;
}
it will affect links only inside gridbox container ( only links inside grid )