How to make column set in C# janus gridex...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shweta LodhaPosted Nov 16, 2014, 10:58 PM
Please try something like this:
GridEX.GridEXColumnSet CSet = new Janus.Windows.GridEX.GridEXColumnSet();
CSet.Caption = "YourCaption";
CSet.HeaderAlignment = Janus.Windows.GridEX.TextAlignment.Center;
CSet.ColumnCount = 2;
CSet.Width = 200;
CSet.Key = "YourCaptionKey";
MyGrid.RootTable.ColumnSets.Add(CSet);