Docs
API
  • id

    String

    There are several ways to get link on form object.
    One of which is to set id and than to use Fancy.getWidget('myForm').

    Example

    
    new FancyForm({
      id: 'myForm'
    });
    
    ...
    var form = Fancy.getWidget('myForm');
    

    Another way to get link on grid object is to use renderTo property and
    FancyForm.get('myForm')

    Example

    
    <div id="myForm"></div>
    
    <script>
    new FancyGrid({
      renderTo: 'myForm'
    });
    
    ...
    var form = FancyForm.get('myForm');
    </script>
    

    Default

    
    undefined