Posts tagged with 'c1truedbgrid'
Every programmer has its own unique requirements. The other day one of our customers required Highlighting the entire Row while moving the cursor on C1TrueDbGrid.
ComponentOne TrueDbGrid provides support for setting dropdown editors for columns. You can set an MS-Combo, Checkboxes or C1TrueDbDropDown as column editors. These have been provided for the ease of data presentation/manipulation to the end-user for a long time.
It is often required in the application/control to detect Start and End of Scroll to get a certain behaviour with respect to scrolling.
This blog explains an approach in C1TrueDbGrid to Copy and Paste entire Row when selecting a row using RecordSelector. Once the entire row is being selected using RecordSelector, then on pressing Ctrl+C, its default behavior is such that it only copies the cell in focus and not the entire row. This blog further implements our own key press functionality to handle the Copy/ Paste of the entire row rather than just the cell in focus.
C1TrueDbGrid data can be exported as an Excel file using ExportToExcel() method. However, when the C1TrueDbGrid with grouped columns is exported to a spreadsheet, the group indentation is not preserved and all the columns appear together.
Many of our customers have asked if C1TrueDbGrid offers conditionally enabling/ disabling a cell focus. This blog explains an approach to do the same. That is to allow or disallow focus when user navigates the grid either with the Arrow keys, the TAB key, or clicking with the mouse.
C1TrueDBGrid is known to be the best when it comes to its database interaction capabilities. But it has occasionally lacked to meet the increasing demand for UI customization. Even though C1TrueDBGrid provides methods and events to customize the appearance (like cell Foreground, Background), at times you may find yourself stuck on a specific requirement.
ComponentOne TrueDbGrid provides support for displaying boolean values as checkboxes. This is done by setting the Presentation property to PresentationEnum.CheckBox (for more information refer to C1TrueDbGrid Documentation).
The most commonly used data binding in C1TrueDbGrid is binding the grid to the List<> collection. And the most commonly faced problem in C1TrueDbGrid is that the updations to the collection at runtime are not shown on the grid.