13
Views
1
Comments
[Data Grid Sample]  [Data Grid Sample] [Data Grid Web] How does DataGrid get values from Odata(SAP)
Forge component by OutSystems R&D
Application Type
Traditional Web
Service Studio Version
11.10.15 (Build 39829)
Platform Version
11.11.2 (Build 28544)

Hi everyone

How can the inlinecount parameter fetched from Odata(SAP) be displayed in the DataGrid?

 I have a program that fetches data from Odata(SAP), and then sends Json to DataGrid to display it on the page. Now I want to add an [inlinecount] parameter in Odata(SAP), and then return it to DataGrid and display it on the page.

But I don't know how the DataGrid can receive this parameter.

Or is there any other way to provide some ideas.

Any suggestion is appreciated.

Kind Regards

? Json Example:

{

    "d": {

        "__count": "6865",

        "results": [

            {

                "__metadata": {

                    "id": "1",

                    "uri": "2",

                    "type": "Type1"

                },

                "name": "aaa",

                "number": "1",

                "age": "22"

            },

            {

                "__metadata": {

                    "id": "2",

                    "uri": "3",

                    "type": "Type2"

                },

                "name": "bbb",

                "number": "2",

                "age": "30"

            }

        ]

    }

}


mvp_badge
MVP

Since you have asked this question on the component. I'll close this post so that you the answer might be in one place only.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.