infragistics

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:

Dropdown should show only the display member

主宰稳场 提交于 2019-12-01 18:48:55
I have bound a collection to ultracombo and I have specified the value member and display member . The collections have many columns, Now I have to show only one column in that in display and one column assigned to value member . Now i'm seeing all the columns in the collections are getting displayed as multicolumn . //Code cboUltra.ValueMember = "LookupValue" cboUltra.DisplayMember = "LookupValueDescription" cboUltra.DataSource = LoadLookupDetails(Field.LookUpCode) UltraGridRow.Cells("FieldValue").ValueList = cboUltra How can I achieve that? The UltraCombo will generate all of the columns

Format UltragridRow Cells

回眸只為那壹抹淺笑 提交于 2019-12-01 14:42:27
I need to format the cell of an UltraGrid . Like: Making the cell to format a DateTime . I have done for a column, UltraGridColumn.Format = "d" likewise is there any option to format individual cells? UltraGridRow.Cells("abc")= ? Note: Using the Infragistics version 12.1 The trick to force the UltraGrid to use different editors for cells in the same column is based on a set of programming objects and patterns offered by the infrastructure of the control. The first thing is to consider is the InitializeRow event. This event is called for each row when you set the initial DataSource of the grid

Format UltragridRow Cells

允我心安 提交于 2019-12-01 12:14:45
问题 I need to format the cell of an UltraGrid . Like: Making the cell to format a DateTime . I have done for a column, UltraGridColumn.Format = "d" likewise is there any option to format individual cells? UltraGridRow.Cells("abc")= ? Note: Using the Infragistics version 12.1 回答1: The trick to force the UltraGrid to use different editors for cells in the same column is based on a set of programming objects and patterns offered by the infrastructure of the control. The first thing is to consider is

WPF ObservableCollection<T> vs BindingList<T>

筅森魡賤 提交于 2019-11-30 12:02:17
In my WPF app I have a XamDataGrid. The grid is bound to an ObservableCollection. I need to allow users to insert new rows through the grid but it turns out that in order for the "Add New Row" row to be available, the xamDataGrid's source needs to implement IBindingList. ObservableCollection does not implement that interface. If I change my source to a BindingList, it works ok. However, from what I can understand from reading up on this topic, BindingList is really a WinForms thing and is not fully supported in WPF. Would I be making a mistake if I changed all of my ObservableCollections to

MSAA UI Automation get_accChildCount Incorrectly Returning 0 for Infragistics UltraTree in Winforms

依然范特西╮ 提交于 2019-11-29 18:17:19
While working on automating an Infragistics UltraTree control in a C# Winforms application I found that the UltraTree implemented the AccessibleObject model (MSAA). I was able to successfully grab the IAccessible interface by putting the hwnd grabbed from spy++ into IAccessible* accessibleObject; AccessibleObjectFromWindow(hwnd, OBJID_CLIENT, IID_IAccessible, (void**)&accessibleObj); The problem is that when I now call long childCount; accessibleObj->get_accChildCount(&childCount); The result that I get back is zero. From looking at the UltraTree source code I noticed that its implementation

Add dependency property to control

六眼飞鱼酱① 提交于 2019-11-29 02:09:41
I am using the Infragistics XamDateTimeEditor control and I want to add a dependency property to it to allow the developer to choose to have all the text selected when the control gets focus. I have created a style that is used to set the behavior I want but I want the developer to decide if the behavior should be executed based on a boolean dependency property. I am not sure how that is done. Denis Troller I assume you inherited from XamDateTimeEditor for this. If you can write the code referencing a "standard" (clr) property, then you are good to go: declare your DependencyProperty remove

Add dependency property to control

别说谁变了你拦得住时间么 提交于 2019-11-27 21:50:03
问题 I am using the Infragistics XamDateTimeEditor control and I want to add a dependency property to it to allow the developer to choose to have all the text selected when the control gets focus. I have created a style that is used to set the behavior I want but I want the developer to decide if the behavior should be executed based on a boolean dependency property. I am not sure how that is done. 回答1: I assume you inherited from XamDateTimeEditor for this. If you can write the code referencing a