Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
739
Need help finding Javascript/CSOM documentation
posted

I'm feeling newbish because after an hour of Googling and poking around, I can't find basic documentation on what Javascript functions are available for the .NET control set (grid in this case).  I see a CSOM Reference Guide section in the main documentation tree, but am not finding it helpful. 

I'm looking for a simple listing of the common functions that would pop up in "get an item and then do things with it" scenarios.  For example,

igedit_getById

igxxx_xxxxx

I see snippets with this type of utility function all over, but no documentation of the functions.  Help is appreciated. 

In my particular case I need to resize a WebDataGrid on the client.  I also have JQuery available in my app, so if there's no easy Infragistics answer I'm open to that.

 

Thanks.

Parents
  • 14049
    Suggested Answer
    Offline posted
    Hello,
    There is no ig_xxx utility functions for WebDataGrid. It's built on top
    of the ajax extensions. So to get a reference to it you can use
    var grid = $find("WebDataGrid1");
    To resize a grid simply change its element's width and height:
    grid.get_element().style.width="100px";
    grid.get_element().style.height="100px";

    Or if you had its size set in % it will follow the container's size.

    More info about CSOM of WebDataGrid can be found here:
    http://help.infragistics.com/NetAdvantage/ASPNET/2009.1/CLR3.5/
    in the left tree go to CSOM Reference Guide ->ASP.NET AJAX CSOM ->
    WebDataGrid Library
    The WebDataGrid class is the last one in the Classes section.
Reply Children
No Data