Hello,
We are starting to support Hierarchies with our Custom DataSource Api implementation. We followed some jsFiddles to get an idea of what the request and response structures are like and we noticed some behaviors that we weren't sure of. We've prepared some videos and fiddles to better ask our questions:
Kind regards,
Henry
Hello, Henry,
Thank you for reaching out to us and for explaining the case in such detail.
The JSFiddle examples and video explanations helped our team to understand the situation better.
We would like to explain that when no hierarchy level is specified, the hierarchy's top level is selected.
Therefore, there should be no difference between putting the entire hierarchy into a column/row and putting the hierarchy's top level into the column/row.
Please let us know if this would work for you.
If any additional questions arise, please feel free to reach out.
Kind regards,
Vera
Hello, Vera,
That will work for us, thank-you for adding this to the next minor release!
Kind regards,
Henry
Hello, Henry,
We are happy to inform you that the issue with expand/collapse in the hierarchical fields with the specified active level was fixed.
Also, the issue with blank cells when several hierarchies are drilled down was fixed.
This is available in the latest minor release of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component. Here is our updating to the latest version tutorial for guidance.
Please let us know if the fix works fine for you.
We would be grateful for your feedback.
Kind regards,
Vera
Hi, Vera,
Looks like it's working on on the jsFiddles! I do have one question, however. I noticed that while inspecting the requests, the filters
attribute in the /members
request no longer exists and has been replaced by a singular filter
attribute (see attached image). Is there any documentation on the new filter
attribute and how to best handle it?
Kind regards,
Henry
Hello, Henry,
Thank you for your feedback.
Our team is happy to hear that the fix works for you.
Regarding the changes to the filters:
Recently, our team added a new filter structure to improve and add more functionality to multi-level hierarchies.
The new filter structure will come into effect (will be sent in the request) if advanced filters are enabled (if the advanced
property is set to true
in the /fields response) and if the API version is specified as 2.8.22
+ (in the /handshake response).
Otherwise, the old filter structure will be used.
We would like to kindly explain that the new filter structure documentation is currently in progress, and it will be available shortly.
We will notify you as soon as it is ready.
In the meantime, please feel free to reach out to us if any questions arise.
Kind regards,
Vera
Hello, Henry,
We are happy to inform you that we have updated the custom data source API documentation with the new filter structure.
The new filter structure is described in detail in the Filter Group Object guide.
If any questions arise, please feel free to contact us.
Kind regards,
Vera
Hello, Vera,
Thanks for the heads up! Am I correct in understanding that the filter group's type
attribute is representing a logical and
and or
? For instance, in the example provided in the guide, is that filter saying "(Only give me data who's W
field begins with 'm') and (who's country
or state
field begins with 'c')"?
Thanks again!
Henry
Oh whoops, never mind the above, I missed the last sentence in the value
documentation.
I believe that should answer all of my questions, much thanks to you and the flexmonster team!
Hello, Vera,
Apologies for opening this ticket back up, please let us know if it would be best to open another ticket. We may have found a potential bug - we've provided a fiddle and a video for convenience.
Previously, when we selected the top level item in the hierarchy (Category), we could not expand out the (Country) rows. This has now been fixed with 2.8.24. However, we noticed that we cannot drill down to the last level in the hierarchy (Size) when the top level item is selected. If we select either the entire hierarchy (Item) or another level, e.g., Color, we can drill down to the last level.
Hello, Henry,
Thank you for reporting this issue and for the detailed explanations.
We would like to confirm that this is not the expected behavior.
Our team will provide the fix to this issue in the minor release version of Flexmonster with the ETA 8th of February.
Please let us know if this would work for you.
Looking forward to your response.
Kind regards,
Vera
Hello, Vera,
That will work for us, much thanks to the team again!
Kind regards,
Henry
Hello, Henry,
We are glad to inform you that the issue with drill down to the last level in the hierarchy when the top-level item is selected was fixed.
This is available in the latest minor release of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component. Here is our updating to the latest version tutorial for guidance.
Please let us know if the fix works fine for you.
Looking forward to your response.
Kind regards,
Vera
Hello, Vera,
Looks like everything is working as expected, much thanks to you and the team!
Kind regards,
Henry