Nov 10, 2008, 12:59 PM
[OPEN] GridPanel Width problems.
Hi
I'm facing some problems with GridPanel (Coolite v0.7.0 build 25189).
---------------------------
Error
---------------------------
A Runtime Error has occurred.
Do you wish to Debug?</p>
Line: 149
Error: 'this.config[...].width' is null or not an object
---------------------------
Yes** No**
---------------------------</p>
---------------------------
Error
---------------------------
A Runtime Error has occurred.
Do you wish to Debug?</p>
Line: 31873
Error: 'this.mainBody' is null or not an object
---------------------------
Yes** No**
---------------------------
Stops on ColumnModel:</p>
<div class="sourceRow">
...
<div class="sourceRow">getColumnWidth : function(col){
<div class="sourceRow"><a class="sourceLine">33231</a> return this.config[col].width || this.defaultWidth;
<div class="sourceRow"><a class="sourceLine">33232</a> }
...
I tried AutoWidth, with or without FitLayout, fixing the with, setting with for the column with no luck.
I could not isolate the problem as it doesn't happen in my sample project*and if I can, I'll send an example.
Meanwhile any help would be appreciated.
Thanks.
Leo