Oct 12, 2010, 11:49 AM
How can i add the checkbox dynamically in a dynamic gridpanel(Row Expander Plugin with Gridpanel)
Hi,
How i can add the checkbox or any controls dynamically in a dynamic gridpanel.I used this example for this pupose.
"Row Expander Plugin with GridPanel"
"Everything is working fine.Except this checkbox.
How i can add the checkbox or any controls dynamically in a dynamic gridpanel.I used this example for this pupose.
"Row Expander Plugin with GridPanel"
"Everything is working fine.Except this checkbox.
GridPanel grid = new GridPanel
{
ID = "GridPanelRow_" + id,
StoreID = "{raw}StoreRow_" + id,
Height = 200
};
grid.ColumnModel.Columns.AddRange(new Column[] {
new Column
{
ColumnID = "TablesName",
Header = "Tables Name",
DataIndex = "TablesName"
},
new Column
{
Header = "Item",
DataIndex = "ItemName"
},
new Column
{
Header = "Quantity",
DataIndex = "Quantity"
},
new Column
{
Header = "Unit Price",
DataIndex = "Price"
},
new Column
{
Header = "Order Date",
DataIndex = "OrderTime"
},
new Column
{
Header = "OrderStatus",
DataIndex = "OrderStatus"
},
new CheckboxColumn
{
}
Please help me.3 times i put this post.Nobody give me the reply.