DataView, Is possible to set repeat column & repeat row

  1. #1

    DataView, Is possible to set repeat column & repeat row

    from the example

    https://examples1.ext.net/#/DataView/Basic/With_Paging/

    Could you please advice how to set image display 3 columns and 2 rows per page.

    eg.

    Page 1

    p1 p2 p3

    p4 p5 p6

    < paging toolbar >

    Page 2

    p7 p8 p9

    p10 p11 p12

    < paging toolbar >


    Thank you
  2. #2
    Hi there,

    by extending this one https://examples1.ext.net/Examples/D...c/With_Paging/

    change tpl as follow
    							<tpl for=".">
    								<div class="thumb-wrap" id="{name}">
    									<div class="thumb"><img src="{url}" title="{name}"></div>
    									<span class="x-editable">{shortName}</span>
    								</div>
                                    <tpl if="[xindex % 3] == 0">
    							        <div class="x-clear"></div>
    						        </tpl>
    							</tpl>
    and adjust the page size

    ...
    <ext:Parameter Name="limit" Value="6" Mode="Raw" />
    ....
    <ext:PagingToolbar runat="server" StoreID="Store1" PageSize="6" HideRefresh="true" />
    Good luck!

Similar Threads

  1. Replies: 3
    Last Post: Feb 19, 2013, 1:44 PM
  2. [CLOSED] Some icons repeat - was fixed in 1.0
    By anup in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: May 27, 2012, 10:27 PM
  3. [CLOSED] DataView to DataView Drag and Drop
    By paulc in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 10, 2012, 8:19 PM
  4. [CLOSED] Icons sometimes repeat
    By anup in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Nov 15, 2011, 4:04 PM
  5. DataView. Need help
    By Dgsoft.ru in forum 1.x Help
    Replies: 2
    Last Post: Jul 16, 2009, 11:14 AM

Tags for this Thread

Posting Permissions