Hello team,
i'm quite sure i have found a bug with the flexmonster.updateData operation. When a user scroll the bar to the right and then click on update data (capture1.JPG), the pivot will be reloaded shifted to the left (capture2.jpg) apparently how much is long the label could be the problem.
example: http://jsfiddle.net/sergin/yo3jpk5m/14/
thank you in advanced
Massimo
Hallo,
this second message just to add that our management is asking for news since this annoying bug puts the usage of your control for a key project in jeopardy.
So, I would kindly ask you to give us a feedback on this ticket and provide an ETA if the issue will be confirmed.
Thank you and Best Regards
Massimo
Hello, Massimo!
Thank you for contacting us.
Our team has reproduced the described behavior on our side.
We will research possible solutions for the scroll to remain at the far right end after the updateData() API call and get back to you with a fix on the ETA March 6th.
Our team will notify you about any updates on the matter.
Feel free to contact us if any other questions arise.
Regards,
Solomiia
Hello Solomiia,
thank you for your quick reply, the ETA you provide fits perfect our needs.
We appreciate your understanding and assistance.
Regards,
Massimo
Hello again, Massimo!
Thank you for your swift response.
We are glad to hear that the ETA suits you.
Our team will notify you about the update.
Do not hesitate to contact us in case of any other questions.
Kind regards,
Solomiia
Hello, Massimo,
We are glad to announce that the issue with the jumping scroll when using updateData()
with the options.partial
parameter was fixed. Please note that it is a specific fix, especially for your use case.
This fix is included in the 2.9.46 version of Flexmonster: https://www.flexmonster.com/release-notes/version-2-9-46/
You are welcome to update the component. Check out our updating tutorial for guidance: https://www.flexmonster.com/doc/updating-to-the-latest-version/
Please let us know if the fix works.
Kind regards,
Nadia
Hello team,
the fix works well when we use an updateData() with a json datasource but if the datasource is custom the issue persist.
thank you in advanced,
Massimo
Hello, Massimo,
Thank you for the response.
Kindly note that currently, the scroll can remain in the previous state when using the updateData
only with the "json"
data source type. The options.partial
parameter is only supported for the "json"
data source. In case you want to achieve remaining of the scroll position with the other data source, we recommend the workaround provided in the following thread: https://www.flexmonster.com/question/how-to-remain-scroll-at-the-right-end-after-removing-the-last-column-on-flat-table/
Please let us know if it works for you. Looking forward to hearing from you.
Kind regards,
Nadia
Hi Nadia,
I forgot to mention that in the 'custom api' pivot, we call the updataData() without the 'partial option' (we know that it works only for json data-source). Anyway, in your documentation (attachment 1) there is no mention about the fact that the pivot keeps the scroll position only for the json data source, and indeed I will not understand why the scroll position should depend on the data-source type.
In attachment 2 for example, I move the scroll position to the far right (note: the last column in 26). After the update, the scroll position is like in attachment 3. The scroll is just positioned somewhere in the middle and the last column is now 22.
I think this is a bug.
Thank you in advance!
Hi, Massimo,
Thank you for reporting the issue.
You are correct that the ignoreScroll
property works for all the data sources, and the described behavior seems to be a bug. We will provide a fix with an ETA March 20th. Our team will notify you about the release.
We could reproduce the described behavior in the following JSFiddle: https://jsfiddle.net/flexmonster/xjbo3qpt/
Could you please confirm if the example above shows the mentioned issue?
Looking forward to hearing from you.
Kind regards,
Nadia
Hello Nadia,
yes i confirm it's the bug! I give you a tip about it, apparently if the label is wider, more the scrollbar moves .
thank
Massimo
Hi, Massimo,
Thank you for the response.
We will get back to you with a new release.
You are welcome to contact us in case other questions arise.
Kind regards,
Nadia
Hi, Massimo,
We are happy to let you know that the issue with horizontal scroll shifting when using updateData()
with the custom data source API was fixed.
This is included in the 2.9.47 version of Flexmonster: https://www.flexmonster.com/release-notes/version-2-9-47/
You are welcome to update the component. Here is our guide on upgrading to the latest version: https://www.flexmonster.com/doc/updating-to-the-latest-version/
You are welcome to contact us in case other questions arise.
Kind regards,
Nadia
Hello Massimo,
Hope you are doing well.
We were wondering if you had a chance to test the fix. Looking forward to hearing your feedback.
Kind regards,
Nadia
Hello Massimo,
Hope you are doing great.
Just checking in to ask if you had a chance to test the new version. Could you please confirm if the fix works well for you?
Looking forward to hearing from you.
Kind regards,
Nadia