in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Browse by Tags

  • Cell indention

    Hi everybody, I am trying to implement an indention in the flexgrid cell using the Column.Format property. if I set the format to "#,##0 €" it works fine, result would be for example "12,345 €" What does not work is for example Column.Format = "0 "; it seems, the format...
    Posted to FlexGrid for .NET (Forum) by citizen.ron on 01-30-2008
    Filed under: C1FlexGrid, CellStyle, TextAlign, FlexGrid
  • Re: formatting indivual cells

    Yes you can use the CellRange object to select a range of cells (or just 1 cell). Dim rng As C1.Win.C1FlexGrid.CellRange rng = C1FlexGrid1.GetCellRange(3, 3, 7, 7) //row 3, col 3 to row 7, col 7 rng.StyleNew.TextAlign = TextAlignEnum.CenterCenter Hope this helps, Greg
    Posted to FlexGrid for .NET (Forum) by C1_GregL on 02-11-2008
    Filed under: C1FlexGrid, TextAlign
  • Re: Possible Bug: TextAlign not working with Databound grid

    Thanks, this is either a bug or the properties are misleading. The grid.styles.normal.textalign only sets the fixed cell styles. The easiest (working) way to set the textalign is through the cols(x).style, such as For Each col As C1.Win.C1FlexGrid.Column In C1FlexGrid1.Cols col.Style.TextAlign = C1.Win...
    Posted to FlexGrid for .NET (Forum) by C1_GregL on 12-06-2007
    Filed under: C1FlexGrid, TextAlign
Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.