datagrid dynamic columns


i have datagrid in have few columns , want more column dynamic how can this.

thanks

will bind dynamic property on runtime dynamic column.

you can this

datagridtextcolumn column = new datagridtextcolumn();
column.header = title;
column.binding = new system.windows.data.binding(fieldname);
return column;

more info: http://elegantcode.com/2010/03/08/silverlight-datagrid-populate-dynamic-columns-from-a-child-collection/

sharker khaleed mahmud



Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........