Questions tagged [c1flexgrid]

ComponentOne FlexGrid™ for WinForms incorporates the latest in data-binding technology and integrates seamlessly with the Microsoft.NET Framework. As a result, you get an easy-to-use, flexible grid control for creating user-friendly interfaces that display, edit, format, organize, summarize, and print tabular data.

C1FlexGrid Control

The C1FlexGrid control is a powerful, full-featured grid. It will read and write grids from and to compressed binary files or text files (compatible with Microsoft® Access™ and Excel®). C1FlexGrid provides all the basics plus advanced features such as outline trees, sorting, cell merging, masked editing, translated combo and image lists, and automatic data aggregation.

C1FlexGrid can be used in bound mode, where it displays data from any .NET data source, including ADO.NET and ComponentOne DataObjects™ for WinForms, or in unbound mode, where the grid itself manages the data.

75 questions
4
votes
3 answers

C1FlexGrid get value from cell checkbox

I have a ComponentOne FlexGrid that is filled with a DataTable. Every DataTable column has its own column assigned in this grid, but there is an additional column (declared in the Designer) configured like cells with checkboxes (type boolean) and…
Mr_LinDowsMac
  • 2,644
  • 9
  • 56
  • 75
4
votes
0 answers

WinRT XAML Bind to Parent Data Context in DataTemplate

I am trying to figure out how to bind a a combo box to a parent data context from within a ComponentOne FlexGrid. I saw Tyler's question and tried this but, when I run my WinRT app, the combo box is empty. I was able to get it working by setting my…
Mike
  • 1,718
  • 3
  • 30
  • 58
3
votes
1 answer

How to automatically resize columns in C1flexGrid?

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…
nemostyle
  • 794
  • 4
  • 11
  • 32
3
votes
1 answer

How to set focus on a row in grid in WPF

I have an edit window which pop up with a Grid. This grid is a C1FlexGrid made by ComponentOne. (but I think that this might be a similar problem with other grids..) I want the first row in that grid to get focus and be selected when I open that…
Christian80
  • 449
  • 1
  • 6
  • 17
2
votes
0 answers

silverlight componentone combobox binding issue

I have to display combobox in silverlight componentone flexgrid. but when i am applying valueconvertor to that column it works and display combobox, but when i select any value from combobox and select same column from other row then it…
Vishal Parekh
  • 168
  • 1
  • 1
  • 13
2
votes
1 answer

Flex Grid like my Picture

I have tried to make it look like the below picture, but I can not do it. Everytime he put it right on or under the big col -.- Grid System Picture I Want Here is my code: .row { margin-top: 0.5rem; display: flex; flex-direction: row; …
2
votes
1 answer

c1.flexgrid multiple selected rows

How to know if the user has done single selection of row and multiple selection of rows. I use the following code: if(grdSearch.Row==grdSearch.RowSel) { MessageBox.Show("single row selected"); } else { MessageBox.Show("multiple row…
user3201928
  • 378
  • 1
  • 6
  • 23
2
votes
1 answer

Wijmo Flexgrid Decimal data getting round off

In my Wijmo FlexGrid, in one Column I have Decimal Value (32.786878). In the UI its getting round off. I want to show Round off (32.79) value only in UI, but when I edit column value in UI, I want to display full value (32.786878)
S.L.
  • 23
  • 5
2
votes
0 answers

How to undo AutoSizeRows on C1FlexGrid?

I am trying to achieve wrapping and unwrapping of text in C1FlexGrid columns in a menu click event handler. The below code works to wrap the text when appropriate menu action is selected. But how I can unwrap the…
Jyina
  • 2,530
  • 9
  • 42
  • 80
2
votes
1 answer

Is there a property on C1FlexGrid to set default row height before data loads into the grid?

I need to be able to adjust row height of C1FlexGird based on the current font size chosen for the grid. I see there are AutoSizeCols and AutoSizeRows methods but they work only if applied after data loads into the grid. For some…
Jyina
  • 2,530
  • 9
  • 42
  • 80
2
votes
1 answer

How to resize row height in C1FlexGrid?

I need to auto resize row height in a C1FlexGrid. I need to make it work using AutoSizeRow but it does not change the row height. I tested it by setting height and it works. Why is AutoSizeRow not working? For i As Integer = 0 To fgrid.Rows.Count -…
Jyina
  • 2,530
  • 9
  • 42
  • 80
2
votes
1 answer

How to get a cell text in a c1flexgrid

Can anybody help me? I need to get a text from a cell in the c1flexgrid when I click it. I use this code: private void CmdSaveCellContent_Executed(EventParameters param) { C1FlexGrid dg = param.Sender as C1FlexGrid; Point mp =…
Olejan
  • 183
  • 3
  • 9
2
votes
1 answer

C1FlexGrid width

I started using ComponentOne's C1FlexGrid for my WPF Caliburn.Micro application. I wonder how I can set with of the columns to the maximum contents width. I tried to make it Auto, but the width is still the same for all columns. I applied…
David Shochet
  • 5,035
  • 11
  • 57
  • 105
1
vote
1 answer

How to get selected row value from C1FlexGrid

I have C1FlexGrid in my form with multiple rows. I want to select random rows and get those selected row value. Selection Mode: this.CliAcctHolderGrid.SelectionMode = C1.Win.C1FlexGrid.SelectionModeEnum.ListBox; Function Code: private void…
Damini Suthar
  • 1,470
  • 2
  • 14
  • 43
1
vote
0 answers

Display CheckBox in flexgrid when using ownerdraw

Hi am using c1Flexgrid for winforms. I have a form which get data from sql server and it contains both images and bit data type. I have been able to display the images on my c1Flexgrid but it always messes with the checkbox. It does not display the…
1
2 3 4 5