Issues with pagination in Tabulator

Hi all,

I’m a new Panel user (only two weeks in) and I find it an amazing tool to simplify web development, especially for less experienced programmers like myself.

I’ve encountered a few small issues when trying to develop my application which I would like to report.

  1. When using the Bootstrap template and setting pagination='remote', changing the page_size to any value above 20 causes pagination to not be displayed correctly in the app.
import numpy as np
import pandas as pd
import panel as pn

pn.extension()

df = pd.DataFrame(np.random.randint(100, size=(50, 5)), columns=list('ABCDE'))

table = pn.widgets.Tabulator(df, pagination='remote', page_size=25)

layout = pn.template.BootstrapTemplate(main=[pn.Column(table)])

layout.servable()

  1. When pagination is enabled, any edit made to a Tabulator cell causes it to reset to page 1. So if you change something in page 3, it takes you back to page 1 as soon as you press enter or click outside the editable cell area.
import numpy as np
import pandas as pd
import panel as pn

pn.extension()

df = pd.DataFrame(np.random.randint(100, size=(20, 5)), columns=list('ABCDE'))

table = pn.widgets.Tabulator(df, pagination='remote', page_size=5)

layout = pn.template.BootstrapTemplate(main=[pn.Column(table)])

layout.servable()

Please, let me know if there are fixes for any of those issues or if I should open an issue on GitHub.

Thanks!

Cheers,
Raphael