I haven't figured out how to use igDataSource without a grid so I created a grid just to have a data source to manipulate multiple controls. That being said, the grid lives in a hidden div element and the busy indicator control still displays but in the top left of the screen. I have another data grid on the page that needs to show the control so I can't remove it globally but I need to remove it for that one grid that is hidden.
<script type="text/javascript"> $(function () { $("#dataSource").igGrid({ autoGenerateColumns: true, dataSourceUrl: "/api/items/" }); });</script>
<div style="display: none;"> <table id="dataSource"></table></div>
I do this in a few areas. Is there a way to create a datasource instead of a grid because that is all I really need it for. But also knowing how to disable the waiting icon is good too.
Thanks
Hello Daniel,
Thank you for posting in our community.
You can use the Templating engine for the purpose.
More helpful documentation you can find in the online help:
http://help.infragistics.com/Doc/jQuery/2013.2/CLR4.0?page=igDataSource_igDataSource_Overview.html
Online sample:
http://igniteui.com/data-source/odata
And the Code Sample of the start page regarding the igDataSource API options:
http://help.infragistics.com/jQuery/2013.2/ig.datasource#options
Please let me know if you need further assistance regarding this.
hey,
$("#grid1_container_loading").css("display", "none");
hope it helps.
Angel
Works like a charm.