Miggins
6 Jun 2009, 7:54 AM
As per the title, I have a grid which is rendering a GroupingView.
If I do not set the 'id' property on columns the values render correctly.
If I call columnConfig.setId("anyValue") then the values for that column do not render. Looking at firebug it seems the <div> element is created but it is empty and not closed.
Without setId the column value code looks like this which is correct...
<div class="x-grid3-cell-inner x-grid3-col-MyColumn">8</div>
With setId("myColumnId") the column value code looks like this which obviously renders nothing...
<div class="x-grid3-cell-inner x-grid3-col-MyColumn" id="myColumnId">
It would be good to get a fix on this as our testing framework relies on id attributes.
Cheers
P
If I do not set the 'id' property on columns the values render correctly.
If I call columnConfig.setId("anyValue") then the values for that column do not render. Looking at firebug it seems the <div> element is created but it is empty and not closed.
Without setId the column value code looks like this which is correct...
<div class="x-grid3-cell-inner x-grid3-col-MyColumn">8</div>
With setId("myColumnId") the column value code looks like this which obviously renders nothing...
<div class="x-grid3-cell-inner x-grid3-col-MyColumn" id="myColumnId">
It would be good to get a fix on this as our testing framework relies on id attributes.
Cheers
P