Gridpanel Actioncolumn DirectMethod

  1. #1

    Gridpanel Actioncolumn DirectMethod

    Hi all! I have a problem with the actioncolumns of the gridpanel...

    Is the right sintax to call a DirectMethod?
    <ext:ActionColumn runat="server">
         <Items>
              <ext:ActionItem Handler="function(){#{DirectMethods}.myFunction()}"></ext:ActionItem>
         </Items>
    </ext:ActionColumn>
    Another question:
    How i can pass to the DirectMethod a specific record/row value? (i need to pass the ID that is inside a column of the row)
  2. #2
    Damn me! :D

    I've resolved also this!

    <ext:ActionColumn runat="server">
         <Items>
              <ext:ActionItem Handler="function(view,rowidx,colidx,item,e,record){#{DirectMethods}.myFunction(record.data.ID)}"></ext:ActionItem>
         </Items>
    </ext:ActionColumn>
    I must remember that Ext.net have the same logic of ExtJS! :P

Similar Threads

  1. [CLOSED] Dynamic ActionColumn
    By GLD in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 16, 2011, 2:41 PM
  2. [CLOSED] Difference between DirectMethod , DirectEvent, Static DirectMethod
    By syllabusarq in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 01, 2011, 11:37 AM
  3. [CLOSED] FocusRow() for grouped GridPanel within DirectMethod
    By csharpdev in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 10, 2010, 2:21 PM
  4. [CLOSED] Select a Row from GridPanel in DirectMethod
    By csharpdev in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 10, 2010, 10:51 AM
  5. [CLOSED] gridpanel refresh - directmethod
    By vali1993 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 13, 2010, 7:50 AM

Tags for this Thread

Posting Permissions