Browse By Tags

  • Forum Post: FlexGrid Collapsed TreeNodes show wrong TreeLines if a hidden subnode exists

    Hi, it's usual to add a hidden DummyNode to a node to have those plus/minus signs available to indicate whether the next DragAndDrop action should move a source node BEFORE or INTO the target node... As You can see, if You expand a node owning a hidden dummy subnode, the tree lines show a wrong downward...
  • Forum Post: FlexGrid Node.Move() broken - see also C1 wf Control Explorer TreeView Example

    Hi, You really worked hard on FlexGrid. Some nice features have been built in. Thank You so much. However, somehow parts of the node thing seem to be broken... Node.Move does not always do the right thing. See Your TreeView example in C1 Control Explorer: if You drag an node (with subnodes) to another...
  • Blog Post: Custom Renderers in the C1FlexGrid

    What is a Control Renderer? In the old days, controls had Font , ForeColor , and BackColor properties and that was enough to customize their appearance. When they were disabled they simply turned gray and everyone was happy. Developers did not have to worry too much about the appearance of their applications...
  • Forum Post: AutoSizeRow on cells with multiple-line text

    Hello C1 team, I use FlexGrid for WPF version 4.0.20102.46 in Visual Studio 2010 but can't get AutoSizeRow to work. Here is a code snippet for a single-cell FlexGrid: With FlexGrid1 .Rows.Add( New Row ) .Columns.Add( New Column ) .Item(0, 0) = "This is a really long, long, long, long string...
  • Blog Post: Display and Edit HTML Content in FlexGrid

    This blog article details how you can use ComponentOne Studio for WinForms to display and edit HTML content inside a bound datagrid. To achieve this functionality we will use 3 controls: C1FlexGrid , C1Editor and C1SuperLabel . The C1FlexGrid control is a flexible datagrid which will allow us to easily...
  • Wiki Page: How can I save the FlexGrid to a string without writing to a file?

    With FlexGrid you can quickly read and write the grid contents to a file using the ReadXml and WriteXml methods. For example, the WriteXml method takes these possible arguments: C1FlexGridBase.WriteXml(string fileName) C1FlexGridBase.WriteXml(System.IO.Stream stream) C1FlexGridBase.WriteXml(System.IO...
  • Forum Post: FlexGrid Update Available (Build 46)

    This prerelease version adds several new methods and properties: Added SelectedItem, SelectedItems, SelectedIndex properties Added CollapseGroupsToLevel (int level) method Added simple Print method: Print(string docName), Print(string docName, scaleMode sm, Thickness margin, int maxPages) Added Save...
  • Blog Post: FlexGrid Update Available (Build 46)

    This prerelease version adds several new methods and properties: Added SelectedItem, SelectedItems, SelectedIndex properties Added CollapseGroupsToLevel (int level) method Added simple Print method: Print(string docName), Print(string docName, scaleMode sm, Thickness margin, int maxPages) Added Save...
  • Blog Post: FlexGrid Migration to WPF and Silverlight

    FlexGrid is a lightweight and flexible datagrid control with an easy-to-use object model. It offers unique features like true unbound mode, cell merging, flexible styling, multi-cell row and column headers as well as quick and simple printing. What really makes the FlexGrid unique is the power and simplicity...
  • Wiki Page: FlexGrid for WinForms FAQs

    ComponentOne FlexGrid for WinForms FAQs
  • Wiki Page: With FlexGrid, how do I get a dialog box to open when I double click in a cell, given that the cell is in edit mode?

    Applies To: FlexGrid for WinForms Published On: 2/16/2007 This can be done by adding the grid’s double click event handler in editors double click. The following code uses this approach: C#: private void _flex2_SetupEditor(object sender, C1.Win.C1FlexGrid.RowColEventArgs e) { _flex2.Editor.DoubleClick...
  • Wiki Page: With C1FlexGrid for WinForms, how can I show multi-line text in a cell?

    Applies To: FlexGrid for WinForms Published On: 4/30/2007 Multi-line text can be acheived by using the WordWrap property as in the code below: VB.Net fg.Styles.Normal.WordWrap = True fg.Rows(1).Height = 2 * fg.Rows.DefaultSize fg(1, 2) = "hello there!! this is the first line" & ControlChars...
  • Wiki Page: Why is the code in the OwnerDraw event for FlexGrid not taking effect, even though my conditions have been met?

    Applies To: FlexGrid for WinForms Published On: 1/27/2006 Even if the condition has been met, the FlexGrid will not redraw automatically. Once the condition has been met, you must trigger the repainting of the FlexGrid to see the drawing changes. To trigger the repainting of the grid, use the Invalidate...
  • Forum Post: Getting the Column Width of the last column with ExtendLastCol on.

    How do you capture the width of a column when it is the last column in a grid and extendLastCol is turned on. WidthDisplay returns the same value as Width and that is the set width of the column, not the displayed width which is stretched out to fill the grid size. Any ideas?
  • Blog Post: Advanced Print Preview for FlexGrid

    Print your datagrids quickly and effortlessly with the famous ComponentOne FlexGrid . Just call the PrintGrid method from your code. This method includes parameters for optionally displaying a print preview dialog using the standard humdrum PrintPreviewControl . c1FlexGrid1.PrintGrid( "MyDocument"...
Page 1 of 30 (600 items) 12345»