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
265
Collapsible Columns in Infragisitcs UltraGrid ....
posted

Hi, 

   I am trying to extend an UltraGrid sample to implement expand / collapse functionality for Columns just like it is present for the rows in UltraGrid. However, I am not finding anything to extend this functionality for the Column Headers. 

Hence, for this I intend to include + and - bitmaps on column headers of the grid. These bitmaps should be right aligned and should respond to the click. On click, the + and - bitmaps should toggle and invisible columns should become visible and vice versa. 

Is there another approach by which I can implement this functionality? 

Thanks and Regards,

Bhushan

Parents
  • 6120
    Verified Answer
    Offline posted

    Hi Bhushan,

    There are three different ways of showing or hiding columns of an UltraGrid, based on your requirement you can choose one of them.

    1. Expanding and collapsing the columns that are grouped in the following way is a new feature that will be included in our 16.1 release. 
                   http://help.infragistics.com/doc/WinForms?page=WinGrid_Grouping_Columns_in_Row_Layout_Mode_using_the_Designer.html

    2. If you want to add buttons to expand and collapse widths of individual columns then you can achieve this with a Creation Filter. You can read more about a creation filter here.
                   http://help.infragistics.com/doc/WinForms?page=Win_Creation_Filter.html

    3. You can use a ColumnChooser to show or hide your columns. If you want to read more about column chooser please use the below link.
                   http://help.infragistics.com/doc/WinForms?page=WinGrid_Using_the_Column_Chooser_Feature.html


    If you are looking for any built in functionality that allows you to add expand or collapse buttons for columns then that has to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at <http://ideas.infragistics.com>.

    Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it.  You can also link back to this thread for additional details.
    Thank you in advance to submitting your product idea.

    Please let me know if you need any further assistance in implementing any of the above suggested approaches.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer, Windows Forms
    http://es.infragistics.com/

Reply Children
No Data