Skip to main content
August 5, 2024
Question

Grid Field

  • August 5, 2024
  • 7 replies
  • 0 views

I am querying a record to fetch two fields jurisdiction and lineofBusiness and displaying in a read only grid,Currently I am getting data like this

but I want to display only one row,which will have jurisdiction as 44 and all the three line of business in a single cell of column Line of Business

    7 replies

    venkatrea696188
    August 5, 2024

    Hello,

    You haven't responded for my Answer in other thread? , Anyways I'm gonna ask again , Showing it on a grid isn't a big deal , It's just how you feed your data for the grid is the main concern in your case. Are you grouping your data if so can you tell us your format of data after grouping??

    August 5, 2024

    Hi [mention:ba9672c2f5294cb98c0a2b8fb79cf967:e9ed411860ed4f2ba0265705b8793d05] ,Sorry for not able to reply in other thread.yes,I am grouping the data.During querying a record, Inside aggregation field I have two groupings one for jurisdictions and other for lineofbusiness,which is stored in local!data.And below is snippet of my code where I am trying to display data in gridfield

    venkatrea696188
    August 5, 2024

    Can you paste the  local!data.data format like i want to see you are grouping with jurisdiction field (After grouping are you sure  you only have one row for jurisdiction id : 44 ....)