3

If I choose one of the WF which have C1flexGrid, and try to maximize that form, columns in my grid have the same width. What I am trying to do is have the columns auto fit to the width of the content, and have the last column fill the remaining space. Is this possible?

nemostyle
  • 794
  • 4
  • 11
  • 32

1 Answers1

1

For anyone still looking for the answer: You can use AutoSizeCols method and ExtendLastCol property

c1FlexGrid1.ExtendLastCol = true;    
c1FlexGrid1.AutoSizeCols(c1FlexGrid1.Cols.Fixed, c1FlexGrid1.Cols.Count - 1)

Reference.

Jagat Dave
  • 1,643
  • 3
  • 23
  • 30
Jay_7
  • 11
  • 1