iggrid

Using my custom ajax call for load on demand on igHierarchical Grid

元气小坏坏 提交于 2019-12-20 04:57:30
问题 I am trying to implement the igHierarchicalGrid for my application, which can have multiple levels depending on user requirement. I need to use Load on Demand feature without oData, so that I can use server's JSON response, parse it and show the results in child grid. Issues, I am facing is How to use my custom ajax call from which i can send some data to server not necessary the primary key and gets the result in desired format so that the child grid corresponding to that grid is loaded. I

How to re-bind the data in the igGrid igniteUI control on click of a button?

早过忘川 提交于 2019-12-12 14:15:08
问题 I am using Infragistics(Ignite UI) controls in my ASP.NET MVC3 application. I have grid which I've bound to 'Customer' data. Works fine. Now I have button. On clicking I make an ajax call. In the controller I write query which selects only a part of 'Customer' data. I return the data using json. I try to re-bind it using: $("#CustomerGrid").igGrid("dataSourceObject", returnData); But the grid continues to show old data. It doesn't refresh. 回答1: Call the data bind method like so: $("

Reloading Infragistics grid

筅森魡賤 提交于 2019-12-11 00:25:02
问题 I have an Infragistics grid that I need to reload via Jquery. They currently have a bug when updating/inserting rows with a value/text drop down in the grid so I need to manually reload it. $("#grid1").igGrid("databind"); does not work. How do I reload the whole grid via Jquery? 回答1: You need to call the method "dataBind" (is just a Typo) $("#grid1").igGrid("dataBind"); Hope this helps some one at least :) 回答2: If you want to reload the whole grid you can always try using an UpdatePanel and

Using my custom ajax call for load on demand on igHierarchical Grid

不羁的心 提交于 2019-12-02 04:30:24
I am trying to implement the igHierarchicalGrid for my application, which can have multiple levels depending on user requirement. I need to use Load on Demand feature without oData, so that I can use server's JSON response, parse it and show the results in child grid. Issues, I am facing is How to use my custom ajax call from which i can send some data to server not necessary the primary key and gets the result in desired format so that the child grid corresponding to that grid is loaded. I could not find an example for Load on Demand without OData in Jquery. I tried to give following settings

How to get Regular Expression in IgGrid cell (Infragistics)?

橙三吉。 提交于 2019-12-02 03:11:03
问题 how can i have a regular expression on a igTextEditor in igGrid Updating? i tried to use validate option but it didn't worked. $("#schedulerTable").igGrid({ columns: $scope.schedulerColumns, width: "87%", height: "300px", fixedHeaders: true, autoGenerateColumns: false, autofitLastColumn: true, autoCommit: true, renderCheckboxes: true, responseDataKey: "results", dataSource: $scope.schedulerData, updateUrl: "", primaryKey: 'Id', features: [ { name: "Updating", generatePrimaryKeyValue: function

How to get Regular Expression in IgGrid cell (Infragistics)?

三世轮回 提交于 2019-12-02 00:49:54
how can i have a regular expression on a igTextEditor in igGrid Updating? i tried to use validate option but it didn't worked. $("#schedulerTable").igGrid({ columns: $scope.schedulerColumns, width: "87%", height: "300px", fixedHeaders: true, autoGenerateColumns: false, autofitLastColumn: true, autoCommit: true, renderCheckboxes: true, responseDataKey: "results", dataSource: $scope.schedulerData, updateUrl: "", primaryKey: 'Id', features: [ { name: "Updating", generatePrimaryKeyValue: function (evt, ui) { nextPrimarykey -= 1; ui.value = nextPrimarykey; }, enableAddRow: true, enableDeleteRow: