We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

grid grouping printing

I want to print the table and see a title with the parameters that the user select a filter for the table.

How do I add a title above the table with parameters?

I would appreciate if you could show me an example of code.

than you for yours help.


1 Reply

JP Jeya Preetha M Syncfusion Team June 7, 2012 04:25 AM UTC

To Print the table please refer the following sample in the following link:

http://www.syncfusion.com/downloads/Support/DirectTrac/89874/ggc-1087654682.zip

To apply filter for the column please refer the following code snippet:

 //Enable the Filter for each Column.
            for(int i = 0 ; i< gridGroupingControl1.TableDescriptor.Columns.Count;i++ )
            gridGroupingControl1.TableDescriptor.Columns[i].AllowFilter = true; 

   // ShowFilterBar for the Main table.
            this.gridGroupingControl1.TopLevelGroupOptions.ShowFilterBar = true;

Please let me know if you have any concerns.

Regards,

Jeya Preetha M

 

Loader.
Live Chat Icon For mobile
Up arrow icon