I have a bound datagrid control and have successfully added additional template/click button columns.
However these always appear at the start of the grid. Can I have these columns anywhere, e.g. in the middle of the bound columns?
Is this a problem with adding columns programatically? The DataGrid.Columns.Add() method only takes one parameter, the column to add and is not overloaded to take another parameter for column location. I found this frustrating too. Would be interested to hear if you have foudn a solution?
Rob
Go placidly amidst the noise and haste, and remember what peace there may be in silence - Erhmann 1927
yep it is a problem with adding a column programatically.
I suspect it is to do with the fact that the grid is databound?
I'll let you know if I find a solution.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.