Unexpected data rendered in admin grid when filter is enabled

Hi, I’m currently learning Magento and when I try to implement my own admin grid with filter. The result in json is expected, but it will only render the last result as shown here.

https://imgur.com/a/82vcRbc

Here’s the code snippet,

The scenario will only reproduce if any filter is enabled

<listingToolbar name="listing_top"> <settings> <sticky>true</sticky> </settings> <!-- These will trigger the scenario where every result is overwritten --> <!-- <filterSearch name="ticket_id"/> --> <!-- <filters name="listing_filters"> --> <!-- </filters> --> <columnsControls name="columns_controls" /> <!-- <paging name="listing_paging" /> --> </listingToolbar> 

Am I doing something wrong?

submitted by /u/sakamotoryou
[link] [comments]