Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Shawn on Aug 07, 2009 07:21
open dhtmlx forum
setColAlign Issue in Frame

I have an issue with the setColAign not working properly. This grid works perfectly except with the page is put into a frame and the setColAign (right) doesn't align up correctly.

Answer posted by Alex (support) on Aug 07, 2009 07:50

Hello, 

 method setColAlign requires list of values with align for each column. If there are three columns, you should define align for each of them: grid.setColAlign("right,right,right"). This method should be called before grid initialization.

 Regarding the frame - there can not be issues with it. Please, provide the sample to reproduce the issue