Drag and Drop columns into this area
<%-- --%>
<%-- --%>
<%-- --%>
********************
public class DisplayGrid
{
public DisplayGrid()
{
DALReport report=new DALReport();
AggregateFunctions = report.GetAllAggregateFunction();
}
public String ColumnnName { get; set; }
public String ColumnID { get; set; }
public String DisplayName { get; set; }
public String AggregateFunction { get; set;}
public int PartID { get; set; }
public List AggregateFunctions { get; set; }
public String PartType { get; set; }
public int PartOrder { get; set; }
public int reportID { get; set; }
}
*************
java script
var grid = $find("<%= DisplayColumnGrid.ClientID %>");
var rows = grid.get_rows();
var length = grid.get_rows().get_length();
//var newDisplayColumn = [sourceContent, key, sourceContent, length];
var newDisplayColumn = [sourceContent, key, sourceContent];
rows.add(newDisplayColumn);
}