Mar 04, 2016, 11:05 AM
Ext.Net Grid Panel Columns Not Working After Upgrading to Ext.Net 3.3.0 version
Hi,
I was using Ext .Net dll 2.5.3. I am populating Ext .net grid with static & custom/dynamic columns value in it.
This grid populates static & dynamic columns very well with 2.5.3 but when I tried to use latest Ext .net dll 3.3.0 I have an issue with dynamic columns.
I can not see dynamic columns rendered on grid and I can see only "Loading" event mask is running on grid.
Below sample code is used to load data in grid
I was using Ext .Net dll 2.5.3. I am populating Ext .net grid with static & custom/dynamic columns value in it.
This grid populates static & dynamic columns very well with 2.5.3 but when I tried to use latest Ext .net dll 3.3.0 I have an issue with dynamic columns.
I can not see dynamic columns rendered on grid and I can see only "Loading" event mask is running on grid.
Below sample code is used to load data in grid
Grid.Store[0].DataSource = LoadData();
Grid.Store[0].DataBind();
public DataTable LoadData()
{
DataTable dt= new DataTable();
foreach(string data in datasource){
DataRow dr =dt.NewRow();
dt.Rows.Add(dr);
}
Return dt;
}
I have created columns like this this.ColumnModel.Columns.Add(new Column()
{
ID = "ColumnBase_" + month.ToString("MMyyyy"),
Text = month.ToString("MM/yyyy"),
ToolTip = month.ToString("MM/yyyy"),
Width = this.GridInfo.MonthColumnWidth * ColumnsPerMonth,
MenuDisabled = true,
Hideable = false
});
Last edited by fabricio.murta; Mar 04, 2016 at 11:32 AM.