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
685
Custom Column Chooser Form
posted

I'd like to create a custom column chooser with a couple check boxes at the top.  Is there a way to be able to do this?  It seems to me that there should be a template that you can just add extra stuff to if you like.

I've been going through other posts on similar topics but they're all so old and I don't know what the current version can do.

Parents
  • 1500
    Offline posted

    Hello Sean,

    Modifying a control can be done by utilizing the CreationFilter which all our controls have exposed. It allows you to add, replace or modify existing elements.

    The issue here, is that i don't really see any space for these checkboxes you want to add. The control already have a logic to place all its children in the row container, as well as resizing implemented for them. Creating space for these checkboxes will interfere with both of the above implementations, so its likely that they may not work after that. 

    What i would suggest instead, is to create your own form, and add checkboxes or any other controls with the ColumnChooser in it. There is a sample in ours samples browser showing how to create a custom column chooser form and embed the column chooser control inside it.

    Should you have any other questions, please let me know.

    Sincerely,
    Tihomir Tonev
    Associate Software Developer
    Infragistics

Reply Children