Data master filter results in rows which have height issues

Sheraz shared this problem 8 months ago
Solved

We have a data grid with height 600 px. It adjusts all the data master rows with fixed height of 64 px each row.


Now we apply the filter on data master which results in 3 rows only. The 3 rows should logically have the same height (64 px) but somehow data grid divides the overall height by 3 rows and then assigns that value to height of each row. This results in rows with larger heights which breaks consistency of prototype.


This has been an issue for way too long. I think your quality assurance department has missed this bug. It would be very helpful if you guys fix this issue

Comments (9)

photo
2

Thanks for letting us know about this. If possible, can you attach a .vp file here in .zip format so we can see exactly what's not working correctly?

photo
2

I have attached the zip file. It has the sample prototype which shows the issue and a video file as a proof. Kindly go through the files and checkout the bug for yourself.


Cheers !!!

photo
1

It looks like the issue is an event for Input_5 "On Data Change" + "Resize" which resizes the cells if their input content = 2. If you delete that event, the rows are the same height.

photo
1

What if we want to increase the height of a certain row in a data list. For example any row with more content or a parent row can have a larger height and its children rows will have lesser height. How will we be able to implement this scenario. Currently input content = 2 was meant to display this behaviour

photo
2

Hi Danielle,

Yes, we agree, it will work fine if we remove “Resize” action from input_5 on "On Data Change" event. But we have a critical requirements where we need to increase the height of particular rows like where “input content = 2”.

So please suggest us a stable and performance optimized solution for such requirements.

photo
1

Can you elaborate more on the issue? I might be misunderstanding. Is your goal to resize the rows when they have certain content, but the height they resize to is incorrect? Or is it something else?

photo
1

"Is your goal to resize the rows when they have certain content, but the height they resize to is incorrect?" Yes this is exactly our issue

photo
2

Looks like there is a bug here! We're going to fix this soon. I'll let you know when we have an update.

photo
1

This has been fixed in our latest update (8.7) that was released yesterday. Go to Help -> Check for updates in Justinmind.

photo