Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ankur patel on Jan 29, 2009 22:33
open dhtmlx forum
style (css) not apply.

hi..

i used the dhtmlx grid but when page is not post back then skin(css) not apply in grid.

means... when i go from one page to another page then css not apply on the grid...but when i will refress(postback) the page then it will working perfact..

so how can i apply the css (style ) on grid without postback the grid....


please give me solution

as soon as possible.......plz..........
Thanks.
Answer posted by Support on Jan 30, 2009 01:03
Actually there must not be any difference in skin applying in both cases
Be sure that
a) related css file loaded before grid initialization
b) grid.setSkin command executed before grid.init ( actually it can be executed in any moment , but initial setting works a bit more stable ) 
c) if you have changed location of css file - beware that it has relative paths to imgs folder which may need to be updated.