[CLOSED] Cannot Paginate GridPanel on Asp.net Core Grid

  1. #1

    [CLOSED] Cannot Paginate GridPanel on Asp.net Core Grid

    Below is the mark up for my grid panel, however it is not paginating the results on the grid.

    <ext-gridPanel title="Tasks" height="350" frame="true">
        <store>
            <ext-store pageSize="10" data="Model.GetData">
                <fields>
                    <ext-integerDataField name="Id" />
                    <ext-dataField name="TaskName" />
                    <ext-dataField name="Description" />
                    <ext-dataField name="Status" />
                    <ext-booleanDataField name="isActive" />
                </fields>
            </ext-store>
        </store>
        <columns>
            <ext-column text="Id" dataIndex="Id" />
            <ext-column text="TaskName" dataIndex="TaskName" flex="1" />
            <ext-column text="Description" dataIndex="Description" />
            <ext-column text="Status" dataIndex="Status" />
            <ext-column text="IsActive" dataIndex="isActive" />
        </columns>
    </ext-gridPanel>
    Last edited by fabricio.murta; Dec 01, 2020 at 10:45 PM.
  2. #2
    Hello @Nmicros, and welcome to Ext.NET Forums!

    I have edited your message to indent and place the code block you shared between [code][/code] block delimiters.

    The following sample demonstrates configuring a GridPanel with local paging.

    <ext-gridPanel title="Tasks" height="350" frame="true">
        <store>
            <ext-store pageSize="10" data="Model.GetData">
                <fields>
                    <ext-integerDataField name="Id" />
                    <ext-dataField name="TaskName" />
                    <ext-dataField name="Description" />
                    <ext-dataField name="Status" />
                    <ext-booleanDataField name="isActive" />
                </fields>
                <proxy>
                    <ext-memoryProxy enablePaging="true" />
                </proxy>
            </ext-store>
        </store>
        <columns>
            <ext-column text="Id" dataIndex="Id" />
            <ext-column text="TaskName" dataIndex="TaskName" flex="1" />
            <ext-column text="Description" dataIndex="Description" />
            <ext-column text="Status" dataIndex="Status" />
            <ext-column text="IsActive" dataIndex="isActive" />
        </columns>
        <bbar>
            <ext-pagingToolbar />
        </bbar>
    </ext-gridPanel>
    Hope this helps!
    Last edited by geoffrey.mcgill; Dec 01, 2020 at 4:27 AM.
  3. #3
    Thanks, this has worked
  4. #4
    Hello @Nmicros!

    Glad it worked, thanks for the feedback!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Ext.NET 7.0 Classic for ASP.NET Core Now Available
    By geoffrey.mcgill in forum 7.x Classic Premium Help
    Replies: 0
    Last Post: Oct 08, 2020, 5:37 PM
  2. Ext.NET 7.0 Classic for ASP.NET Core Now Available
    By geoffrey.mcgill in forum Open Discussions
    Replies: 0
    Last Post: Oct 08, 2020, 5:36 PM
  3. Replies: 4
    Last Post: Apr 10, 2020, 2:42 AM
  4. [CLOSED] .Net Core support
    By amitpareek in forum 4.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 09, 2020, 7:21 AM
  5. Core ASP.NET security vulnerability
    By r_honey in forum Open Discussions
    Replies: 0
    Last Post: Sep 21, 2010, 6:33 AM

Tags for this Thread

Posting Permissions