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
65
How to do Grouping in Webgrid--------Urgent
posted

Hi,

I am using infragistics webgrid for the first time. I want to know how to implement grouping in webgrid at runtime and design time both.

Please reply if anybody knows immediately as it is urgent to me.

Thanks N Regards,

Vallamreddy VenuGopal

  • 45049
    posted

    At design-time, you should be able to drag existing column headers to the group-by area.  This is the same way that the end-user can group a grid by a column at runtime, so long as you haven't hidden the group-by area.

    At runtime in server-side code, you can set an individual column's IsGroupByColumn property to true, which will act as if you just added this column to the group-by header.  This is useful if you are hiding the group-by area, but still want to group by certain columns in program code.