Enhanced TDBGrid for Delphi & C++Builder VCL Applications
NDBGRID is a modern, feature-rich replacement for the standard TDBGrid, designed for professional VCL applications in Delphi and C++Builder. The component was originally written in C++ and has been translated to Delphi for broader compatibility. The original C++ version is included as a compressed archive (OldCppComponent.7z) in the root of this repository.
- Interactive Sorting: Clickable column headers automatically generate the
ORDER BYclause for your dataset. - Smart Tooltips: Automatic tooltip expansion for cell values that do not fit in the column width.
- Custom Events: Extended event set for advanced grid interaction and customization.
- VCL Styles Support: Seamless integration with VCL styles for a modern UI.
- Easy Integration: Drop-in replacement for TDBGrid with additional properties and events.
Interactive sorting and advanced column features
Full VCL styles support for a modern look
- Open the
Delphifolder. - Run
install.batto build and register the component packages in your IDE. - Restart RAD Studio. The
TNDBGridcomponent will appear in the Tool Palette for both Delphi and C++Builder. - To uninstall, run
uninstall.batin the same folder.
- Drop
TNDBGridonto your form (just like TDBGrid). - Connect it to your
TDataSource. - Configure columns, events, and properties as needed to leverage advanced features.
Two demo projects are provided in the Test folder:
Test/Delphi/— Delphi demo project (see the walkthrough)Test/Cpp/— C++Builder demo project
Explore these demos to see practical usage examples in both supported languages.
For detailed architecture, API, build, and customization notes, see the technical documentation. The component source is available in the Delphi folder.
Include Path:
<repo>\Delphi
Library Path:
$(BDSCOMMONDIR)\Bpl
$(BDSCOMMONDIR)\Bpl\$(Platform)
The original version of this component, written in C++, is available as OldCppComponent.7z in the root of this repository. This archive contains the legacy C++ source code for reference or migration purposes.
This project is licensed under the MIT License. You are free to use, modify, and distribute it, subject to the conditions in the license.