RadGrid Grouping based on lookup field

3 posts, 0 answers
  1. Suganya
    Suganya avatar
    2 posts
    Member since:
    Aug 2012

    Posted 21 Feb 2012 Link to this post

    I have the sharepoint list items as the datasource to the grid and I am using linq for the same. Now that I need to group the grid data based on a field value which is a lookup field value in that list. Every time I do that, it says, Field LookUPList.FieldValue not found in the source table. Please check the expression syntax.

    Can you please guide me through this? Thank you.
  2. Marin
    Admin
    Marin avatar
    1045 posts

    Posted 24 Feb 2012 Link to this post

    Hello,

     You can only group by fields that are in the original datasource of the grid. In order to perform the grouping correctly you should pass to the groups settings a field from the grid's datasource that corresponds to the one shown in the lookup field.

    Regards,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.

  3. Suganya
    Suganya avatar
    2 posts
    Member since:
    Aug 2012

    Posted 24 Feb 2012 Link to this post

    Thanks for the reply. I did a workaround to depict a grouping view in my grid.
Back to Top