[CLOSED] GridView - override doStripeRows

  1. #1

    [CLOSED] GridView - override doStripeRows

    Hi there,

    Could you tell me how to override doStripeRows for 2 cases?
    1. override for view instance (replacement)
    2. override for view class


    Thanks in advance.
    Last edited by Daniil; Jan 13, 2015 at 8:46 AM. Reason: [CLOSED]
  2. #2
    Hi @thchuong,

    1. override for view instance (replacement)
    Example 1
    <ext:GridView runat="server">
        <CustomConfig>
            <ext:ConfigItem Name="doStripeRows" Value="myDoStripeRows" Mode="Raw" />
        </CustomConfig>
    </ext:GridView>
    var myDoStripeRows = function (startRow, endRow) {
        alert("myDoStripeRows");
    };
    2. override for view class
    Example 2
    Ext.view.Table.override({
        doStripeRows: function (startRow, endRow) {
            alert("doStripeRows");
        }
    });
  3. #3
    Thank you. You can close the topic.

Similar Threads

  1. [CLOSED] GridView override portability issue
    By vadym.f in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Aug 16, 2013, 3:42 AM
  2. Override properties
    By bit9bug in forum 2.x Help
    Replies: 0
    Last Post: Jan 28, 2013, 2:01 PM
  3. Calendar Override
    By Avatarus in forum 1.x Help
    Replies: 1
    Last Post: Sep 28, 2012, 1:18 PM
  4. Replies: 2
    Last Post: Nov 04, 2011, 6:06 PM
  5. how to override in formpanel ?
    By jhenriquecosta in forum 1.x Help
    Replies: 1
    Last Post: Feb 08, 2010, 11:04 AM

Posting Permissions