[CLOSED] RowExpander IFrame Dynamic Loader Url

  1. #1

    [CLOSED] RowExpander IFrame Dynamic Loader Url

    Hi,

    On a row expander, i was able to set the handler to call Js.Expand(record, this);

    The Js method is called OK with no issues, but the loader URL is not being set correctly,
    got any tips?

    
    var Js = {
    
    Expand: function(record, expander){
      
      var loader = expander.loader();
    
       //THIS IS NOT WORKING..
       loader.url = "https://examples2.ext.net";
       loader.load();
    }
    
    };
    Thanks,
    Allan
    Last edited by Daniil; Aug 14, 2013 at 5:53 PM. Reason: [CLOSED]
  2. #2
    Hello!

    You should use BeforeExpand:

    <ext:RowExpander ID="RowExpander" runat="server">
    	<Listeners>
    		<BeforeExpand Handler="
    			var l = item.loader();
    			l.url = 'https://examples2.ext.net';
    			item.loader = function() {
    				return l;
    			}
    			"></BeforeExpand>
    	</Listeners>
    	<Loader Mode="Frame" Url="http://ext.net">
    		<LoadMask ShowMask="true" />
    	</Loader>
    </ext:RowExpander>
  3. #3

    Works pretty well.

    Works pretty well.
    Thank you very much!

    -Allan

Similar Threads

  1. [CLOSED] Dynamic Load Mask using Panel Loader on Client
    By rthiney in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 08, 2013, 5:52 AM
  2. RowExpander Subdata Loader Problem
    By thewisegod in forum 2.x Help
    Replies: 10
    Last Post: Feb 17, 2013, 2:09 PM
  3. [CLOSED] directevents in RowExpander with dynamic gridpanel
    By HansWapenaar in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 30, 2012, 6:39 AM
  4. Replies: 0
    Last Post: Oct 17, 2012, 8:32 AM
  5. RowExpander - Dynamic Gridpanels
    By Rupesh in forum 1.x Help
    Replies: 0
    Last Post: Apr 11, 2012, 10:41 AM

Tags for this Thread

Posting Permissions