TrueDBGrid Cell Style Various Input Format

Posted by: grapecity on 22 February 2019, 7:57 am EST

    • Post Options:
    • Link

    Posted 22 February 2019, 7:57 am EST

    Hello,

    I previously found a sample project here about using IC!EmbeddedEditor for TrueDBGrid, However after looking at it, I was not able to modified it to serve my requirements. So I came up with different approached.

    I attached here the sample project for possible improvement or any suggestion for a better approach to address this kind of requirement. I tried FlexGrid and it handled this requirement more elegantly but I have to use TrueDBGrid.

    Thank you.

    Ricky

  • Posted 22 February 2019, 8:00 am EST - Updated 4 October 2022, 1:30 am EST

  • Posted 22 February 2019, 8:53 am EST

    Here’s the TrueDBGrid sample project.

    Thanks

  • Posted 25 February 2019, 4:16 am EST

    Hello,

    It seems that the sample is not attached properly. Could you please reattached the sample or upload the sample at the following link:

    https://www.dropbox.com/request/pprgRUGcO6evALDBlZUj

    Thanks.

  • Posted 25 February 2019, 7:19 am EST

    Hi,

    Uploaded at the dropbox mentioned above.

    In addition, I want to add one more input type of “open file dialog”.

    Thanks.

  • Posted 26 February 2019, 12:52 am EST

    Hello Richard,

    Actually, C1TrueDBGrid and C1FlexGrid both are the different types of grid.

    True DBGrid for WinForms allows you to work more easily in bound mode. True DBGrid for WinForms is better suited for data binding and, therefore, offers more features in that area, including split views and built-in hierarchical binding and grouping.

    FlexGrid for WinForms, on the other hand, is more suited for working with unbound data; FlexGrid for WinForms includes features that allow you to customize trees and take advantage of its cell merging capabilities. You can also derive from it to create customized grids

    FlexGrid supports the different editor for each cell. HoweverTrueDBGrid only supports the editor on column level only that’s why you face this problem. You cannot have the different editor on each cell in C!TrueDBGrid.

    This is the only way to set the different editor on each cell by changing the editor of the column in “BeforeColEdit” event which you have already implemented in your sample.

    Hope it clarifies.

    Thanks.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels