In datatable, when I on a page for example; 2nd, 3rd, 5th or another page. I post a form on the datatable, but the active page does not change.
For example; when I on the 5th page; When I post a form, the active page(5th page) should be first page.
This also applies to sorting. When I SORT datas on the 5th page, the active page(5th page) should be first page.
Another problem is about SplitButton. The problem appears in the attached file.
Code: Select all
<div class="p-grid p-fluid">
<div class="p-col-12 p-md-3">
<span>Label</span>
<div class="p-inputgroup">
<Dropdown optionLabel="name" optionValue="code" placeholder=".." />
<SplitButton icon="pi pi-search" :model="items"></SplitButton>
</div>
</div>
<div class="p-col-12 p-md-3">
<span>Label</span>
<div class="p-inputgroup">
<Dropdown optionLabel="name" optionValue="code" placeholder="..." />
<Button icon="pi pi-search" class="p-button-warning" />
<Button icon="pi pi-user" class="p-button-warning" />
</div>
</div>
<div class="p-col-12 p-md-3">
<span>Label</span>
<Dropdown placeholder="..."></Dropdown>
</div>
<div class="p-col-12 p-md-3">
<span>Label</span>
<InputText />
</div>
</div>
<div class="p-grid p-fluid">
<div class="p-col-12 p-md-3">
<span>Label</span>
<div class="p-inputgroup">
<Dropdown optionLabel="name" optionValue="code" placeholder=".." />
<SplitButton label=".." :model="items"></SplitButton>
</div>
</div>
<div class="p-col-12 p-md-3">
<span>Label</span>
<div class="p-inputgroup">
<Dropdown optionLabel="name" optionValue="code" placeholder="..." />
<Button icon="pi pi-search" class="p-button-warning" />
<Button icon="pi pi-user" class="p-button-warning" />
</div>
</div>
<div class="p-col-12 p-md-3">
<span>Label</span>
<Dropdown placeholder="..."></Dropdown>
</div>
<div class="p-col-12 p-md-3">
<span>Label</span>
<InputText />
</div>
</div>
I look forward to hearing from you soon.