redg DataGrid
-
Hi, I want to dynamically allocate datagrids depending on the input. So I declared a datagrid array .But it is not working . Can I do this way? I tried keeping a single datagrid .It is working. Later I changed it into array keeping a loop.Now it is not working. Karteek
-
Hi, I want to dynamically allocate datagrids depending on the input. So I declared a datagrid array .But it is not working . Can I do this way? I tried keeping a single datagrid .It is working. Later I changed it into array keeping a loop.Now it is not working. Karteek
let me conform this. you want to dynamically create grid based on some values. am i right ?. if not explain your problem little bit more Sreejith S S Nair
-
Hi, I want to dynamically allocate datagrids depending on the input. So I declared a datagrid array .But it is not working . Can I do this way? I tried keeping a single datagrid .It is working. Later I changed it into array keeping a loop.Now it is not working. Karteek
Instead of using different
DataGrid
s based on the input, use theDataGrid.TableStyles
property to define different table styles with explicitDataGridColumnStyle
s. That's what it's there for. See the documentation for theDataGrid.TableStyles
property for more information and an example.Microsoft MVP, Visual C# My Articles
-
let me conform this. you want to dynamically create grid based on some values. am i right ?. if not explain your problem little bit more Sreejith S S Nair