Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
620
Can we disable the expansion column?
posted

We are using WHDG for its ability to group columns, however our data is not hierarchical so we don't have any need to expand individual data rows.  Is there a way to disable the expansion functionality?  We're currently doing it by specifying a zero width for the expansion column through CSS, but it seems as though there ought to be a cleaner way to do it?

  • 25665
    Verified Answer
    Offline posted

    Hello Alistair,

    Thank you for contacting Infragistics. You are correct in that to achieve this you will want to use CSS. Instead in the ig_hierarchicalDataGrid.css class you will find the CSS classes ighg_ExpansionColumn and ighg_ExpansionColumnHeader. In these CSS classes you will want to set Display to none. The Grid also has the property ExpansionColumnCss that can be set.

    Please let me know if you have any questions concerning this matter.