View Full Version : [CLOSED] GridPanel BufferedRender removing CommandColumn

Nov 08, 2013, 11:59 PM

I have a GridPanel that has a CommandColumn with a GridCommand that has an icon. However, when I scroll out of the buffered zone, the GridCommand is empty and does not contain the button or icon. When I scroll back up, it is no longer renders at all and the column is blank.

How do you prevent this from happening? I want to be able to scroll down on the grid going through multiple zones and have the button draw on the screen.

<ext:GridPanel runat="server" ID="MainTable" AutoScroll="true" Flex="1" Title="Capacity Group Instances" ButtonAlign="Right">
<ext:BufferedRenderer ID="BufferedRenderer1" runat="server" />
<ColumnModel ID="ColumnModel1" runat="server">
<ext:Column ID="Column2" runat="server" Text="DB Type" DataIndex="DB_TYPE_DESC" Width="125" />
<ext:Column ID="Column3" runat="server" Text="Applications" DataIndex="APPLICATIONS" Width="175" Flex="1" >
<Renderer fn="appRenderer" />

<ext:Column ID="Column4" runat="server" Text="Instance Name" DataIndex="INSTANCE_NAME" Width="125" />
<ext:Column ID="Column5" runat="server" Text="Allocated Storage(GB)" DataIndex="ALLOCATED_STORAGE" Width="125" />
<ext:Column ID="Column9" runat="server" Text="Used Storage(GB)" DataIndex="CURRENT_USAGE" Width="125" />
<ext:Column ID="Column10" runat="server" Text="% Used" DataIndex="PERCENT_USAGE" Width="125" />
<ext:Column ID="Column11" runat="server" Text="Est. 70 Date" DataIndex="EST_70_DATE" Width="150" >

<ext:Column ID="Column6" runat="server" Text="Est. Max Date" DataIndex="EST_MAX_DATE" Width="150" Flex="1" >
<Renderer Fn="RenderColor" />

<ext:CommandColumn ID="CommandColumn1" runat="server" Width="110">

<ext:GridCommand Icon="ChartCurve" CommandName="ViewGraph" Text="View Graph" />



<Command Handler="#{window1}.show(); App.direct.ShowChart(command,record.get('DB_INSTAN CE_ID'),record.get('INSTANCE_NAME'),record.get('AL LOCATED_STORAGE'),record.get('CURRENT_USAGE'),reco rd.get('EST_70_DATE'),record.get('EST_MAX_DATE'));" />

<ext:GridView ID="GridView1" runat="server">

<Refresh Handler="#{MainTable}.body.unmask();" Delay="1" />

<AfterRender Handler="App.MainTable.refresh" />

Nov 09, 2013, 2:46 AM

Couldn't reproduce. What version of Ext.NET do you use?

Nov 12, 2013, 9:21 AM
Hi everybody,

Yes, I recall such a bug. It has been fixed in v2.3.