Need a special offer?Find out if your project fits.
+

Missing Row in Compact Form using Custom API

Answered
Cedric Kalume asked on October 17, 2022

Hello,
 
I have a problem with some rows missing when using the custom api to return data

  1. You can see in Image 1 the total is higher than the displayed rows.
  2. when switching to flat form (Image 2) The missing row appears.
  3. If you go back to Compact form (Image 3) the missing row is now present.

I don't how to replicate the custom API using jsfiddle so i'm adding the responses has well as the requests
 
Awaiting your reply,
Kalume

4 answers

Public
Cedric Kalume October 17, 2022

PS: I'm using version 2.9.30.
2.9.35 has infinite loading on step 2

Public
Maksym Diachenko Maksym Diachenko Flexmonster October 18, 2022

Hello, Kalume!

Thank you for reaching out to us.

We noticed that the filter in your select request (missing_row_compact_query.json) contains the "member": "SOCOGETRA " with a whitespace at the end of the string. At the same time, the "CUSTOMER": "SOCOGETRA" inside keys has no whitespace in the server's response (missing_row_compact.json). This results in the "SOCOGETRA" member's absence on the grid, as Flexmonster expects the member ending with whitespace to be returned. We suggest removing whitespaces in the data source or modifying the code always to return equal members.

Regarding the issue with infinite loading, while switching to the flat form, it was fixed in Flexmonster v.2.9.36. You are welcome to update the component. Here is our updating guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/

Please let us know if our answer helped you to solve the issue.

Best Regards,
Maksym

Public
Cedric Kalume October 18, 2022

Hello Maksym,
 
Both of my problems were resolved. The missing rows were indeed coming from my custom library implementation which added a space to the member request
 
Thanks for your assistance,
Kalume

Public
Maksym Diachenko Maksym Diachenko Flexmonster October 19, 2022

Hello, 

Thank you for your feedback.
We are glad to hear that our answer helped you to solve the issue.
Feel free to contact us if any other questions arise.

Best Regards,
Maksym

Please login or Register to Submit Answer