I'm extremely frustrated by the lack of clear documentation concerning the Infragistics control set. Whenever I see a post with questions concerning how to call client side functionality, an Infragistics agent posts back and helps the user fix the problem. However, this is completely absurd and unnecessary. There should be something which lists the functions and properties of the control. While there appears to be documentation for server-side events, the client side is mostly undocumented (unless I can't find it, and I've scoured this site, so if there is documentation, it isn't readily apparent). On WebDataGrid, I want to utilize "eventArgs", but without any documentation on what properties and methods can be called, it's completely useless. I don't want to keep coming back to your site to get help. How am I supposed to learn how to use this control set if there isn't anything which helps a new user understand what can be called? I was under the impression the Infragistics controls were supposed to be easier to use, but in many cases, I've had to revert back to standard ASP.NET controls to get something done. That is extremely frustrating after spending money on something billed as an easy-to-use control set.
Here's an example of something I found (but doesn't work) on a help discussion:
eventArgs.get_item().get_row().get_cellByColumnKey("<columnKey>").get_text();
How is anyone supposed to know these functions? Additionally, when I run it, JavaScript tells me that get_item() is not a valid function of eventArgs. How would I know that except the JS debugger told me? How am I to learn if it's all "trial and error"?
Hi Boyd and thank you for posting in the Infragistics community !
Actually the Client Side Object Model (CSOM) of the WebDataGrid and the other controls from the .NET Advantage set are documented. The WebDataGrid CSOM Overview can be found at http://es.infragistics.com/help/aspnet/webdatagrid~infragistics.web.ui_namespace.html
I know its format does not allow one to quickly search for an available function and thus most developers are reluctant to use it, but still can be useful. If you are aware of the server-side functionality, you can keep in mind that most of these are available client side as well and methods, properties, etc share the same naming as server side. There is also the naming convention that getters starts with "get_" and setters with "set_".
For example if you want to do something with the Cell Editing behavior client side you can get it as follows:
var cellEditing = grid.get_behaviors().get_editingCore().get_behaviors().get_cellEditing()
or setting a value to the cell would be
grid.get_rows().get_row(0).get_cell(0).set_value("new string value");
Besides the CSOM Overview the most common functionality you would need is given as example in the corresponding topics such as
http://es.infragistics.com/help/aspnet/webdatagrid_cell_editing.html
So whatever you need to do I suggest that you look for the topic and usually there are examples given both in server side and client side code. You can access those pages from google searching or through the WebDataGrid Help main page at http://help.infragistics.com/Help/Doc/ASPNET/2015.2/CLR4.0/html/Web_WebDataGrid_WebDataGrid.html
Specifically for the WebDataGrid there is also the Cheat Sheet which lists a huger part of the funcioanlity in a good format with comparison to the WebHierarchicalDataGrid.
In conclusion these are the resources needed:
WebDataGrid Help main page
WebDataGrid CSOM Overview
Cheat Sheet
Last but not least you can get advantage from the intellisense in the browsers' developer tools, especially Mozilla one.