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
2745
Disable grid loading indicator
posted

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