Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lee Samdahl on Jan 06, 2010 08:51
open dhtmlx forum
Grid setStyle

2 Issues:

1. How can I display a grid with no row selection, only cell selection? I was able to block the background image in setStyle by the following:
grid1.setStyle(";",";","border:1px solid gray;","background-image:url();background-color: transparent !important;");
However, the background-color style remains a light orange (skyblue skin).

2. The setStyle command crashes in Chrome. I am using ver. 2.5 and will be purchasing the pro version soon.
Answer posted by Alex (support) on Jan 11, 2010 05:24

>> However, the background-color style remains a light orange (skyblue skin).

you try to remove the following class in the dhtmlxgrid_dhx_skyblue.css to solve the issue

div.gridbox_dhx_skyblue table.obj tr.rowselected{
 background-color:#FFF1CC;
}

>> The setStyle command crashes in Chrome. I am using ver. 2.5 and will be purchasing the pro version soon.

The issue wasn't reproduced locally. Please provide the sample to reproduce it.

In common case skin can be created using skin builder http://dhtmlx.com/docs/products/skinBuilder/index.shtml