1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    3
    Vote Rating
    0
    suseendhar05@gmail.com is on a distinguished road

      0  

    Default Adding pagingToolBar to Grid

    Adding pagingToolBar to Grid


    I am trying to make a custom grid component that displays the pagingToolbar if PagingLoader is provided to it. It will not be displaying the pagingToolbar if it receives ListLoader.

    I know we can add both grid and pagingToolbar to Vertical contiainer, but my requirement is as described above. Kindly let me know how to develop this custom Grid

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,645
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    What's wrong with just not adding the PagingToolbar to the VLC if a PagingLoader is not detected?

    Something like (completely untested, only shows the idea):
    Code:
    if (loader instanceof PagingLoader) {
      PagingToolbar<C,M> toolbar = new PagingToolBar<C,M>(loader);
      vlc.add(toolbar, new VerticalLayoutData(1.0,-1));
    }

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    3
    Vote Rating
    0
    suseendhar05@gmail.com is on a distinguished road

      0  

    Default


    thank u. Adding paginToolbar to VLC is the approach i have taken

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar