Hi guys,
I encountered this issue while working in a canvas app using vertical gallery.
First I gave the data source directly to the
gallery(Items=Filter(TestTable,Column1=SearchInput.Text))
and it worked fine, loading records in batches of 100 as I scroll down the gallery
Initially,

As I scroll down to the last item,

And it goes on until the end of the list.
Now I want to add row number to each of the record to show the records in alternate colors, so what I did was
gallery->Items=
With(
{varListItems: Filter(TestTable,Column1=SearchInput.Text)},
ForAll(
Sequence(CountRows(varListItems)),
// this patch is used to add the row numbers to the obtained records
Patch(
Last(
FirstN(
varListItems,
Value
)
),
{RowNumber: Value}
)
)
)
Now the problem is this ,

even if I Scroll to the last row it doesn't load the next batch of records. Why is this happening? Is there any alternative way to do this? Thanks in advance
@mdevaney @CarlosFigueira @elseb @Ethan_R