33
Views
6
Comments
Solved
DataGrid was not displayed with the data

Hi,

I'm new to ODC, I am trying to displaying the data in datagrid for inline editing. As we know ArrangeData function was not available in ODC so I have tried to convert data from JsonSerialization. But datagrid was dispaying on the screen but data was not getting populated in the grid. I have debugged the flow but the data is getting processing in the flow. I'm attaching some of the screenshots for reference.

I have used the grid widget and assign for the data.

here is the flow to assign the data 

And finally I'm getting empty grid on the screen


Thanks.

2020-07-21 19-28-50
Rajat Agrawal
Champion
Solution

Hi @Shanmuka Reddy,

Firstly you will use JSONSerialize to serialize your data like below image I have done.


After that take text column and bind that your text column like below I did:

And final output you will get list:


Hope this steps helps you!!


Regards,

Rajat

UserImage.jpg
Shanmuka Reddy

Hi Rajat,

Thanks for response. 

Yes I have first serialized and then only I assigned the data.

I dont find the option to bind columns for the grid. The above implementation is done in Outsystems or ODC?

2020-07-21 19-28-50
Rajat Agrawal
Champion

Hi,

Here you have options it will come with grid itself.


Hope this image will help you!!!                 Regards,                                                         Rajat

2020-07-21 19-28-50
Rajat Agrawal
Champion

And bind your data as per below image

2021-10-17 12-36-16
Amreen Shaikh

Hi Shanmuka Reddy,

Did you bind the columns to the dATA grid.

I can see its empty.


Regards,

Amreen


UserImage.jpg
Shanmuka Reddy

Hi Amreen Shaikh,

Thanks for the reply. I dont find the option to bind columns for the grid in ODC.

2020-07-21 19-28-50
Rajat Agrawal
Champion
Solution

Hi @Shanmuka Reddy,

Firstly you will use JSONSerialize to serialize your data like below image I have done.


After that take text column and bind that your text column like below I did:

And final output you will get list:


Hope this steps helps you!!


Regards,

Rajat

UserImage.jpg
Shanmuka Reddy

Hi Rajat,

Thanks for response. 

Yes I have first serialized and then only I assigned the data.

I dont find the option to bind columns for the grid. The above implementation is done in Outsystems or ODC?

2020-07-21 19-28-50
Rajat Agrawal
Champion

Hi,

Here you have options it will come with grid itself.


Hope this image will help you!!!                 Regards,                                                         Rajat

2020-07-21 19-28-50
Rajat Agrawal
Champion

And bind your data as per below image

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