问题标签 [iggrid]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
891 浏览

infragistics - Infragistics 使用字符串 primaryKey 删除行

我有一个 Infragistics 网格,当网格的 primaryKey 是 dataType 字符串时,我无法删除一行。

我无法将我的 primaryKey 设置为 dataType 编号,因为它是这种格式:“KIT_001”。是否有任何巧妙的方法可以使用删除按钮并能够使用此类数据删除行?也许是一种设置递增 ID 并将其用于删除按钮的方法?

0 投票
1 回答
2337 浏览

javascript - 选中值的行中的 Infragistics 下拉列表

我有一个包含状态列的数据源。我还有一个数组 PART_STATUS,它包含所有可能的状态。

是否可以在该列中显示包含所有 PART_STATUS 状态的下拉菜单并选择正确的选项?

0 投票
0 回答
280 浏览

javascript - iggrid 编辑行显示重复值

我正在使用编辑行处理 igGrid(基础网格)组。我在一个组中有多行,如下所示

在此处输入图像描述

当我尝试编辑组中的第二行时,第一行单元格值默认填充到第二行。像下面

在此处输入图像描述

我正在尝试在 editRowStarted 事件中手动更新单元格值,但它不起作用。

无法在此处发布代码,因为它非常大,有许多 iggrid 事件。

如果有人对此有想法,请分享您的想法。谢谢

0 投票
1 回答
101 浏览

infragistics - Infragistics 12.1 HierarchyGrid 转换为 infragistics 15.2

我面临以下迁移问题,请检查

1) Microsoft JScript 运行时错误:无法识别 igGridUpdating。验证是否存在此类功能并且拼写是否正确。(Infragistics.ui.grid.framework.js)

2) Microsoft JScript 运行时错误:对象不支持属性或方法 '_super'

0 投票
1 回答
356 浏览

asp.net-mvc-5 - 为什么在添加布局时 Ignite UI Hierarchical Grid 会抛出 NullReferenceException?

每当我加载网格而不添加布局时,父网格加载就好了。但是,每当我添加布局时,将数据绑定到父级时都会引发 NullReferenceException。

GetData 方法的 BindParent 方法中引发错误。

这是堆栈跟踪:

在 Infragistics.Web.Mvc.GridModel.RenderHierarchicalQueryable(IQueryable queryable) 在 Infragistics.Web.Mvc.GridModel.DataBind() 在 Infragistics.Web.Mvc.GridModel.DataBind() 在 Infragistics.Web.Mvc.GridModel.RenderHierarchicalQueryableRecursive(IQueryable queryable, WrappedGridResponse response, GridModel baseLayout) .Mvc.GridModel.GetData() 在 IgniteUIHTMLEditorExample.Controllers.ServiceHistoryController.BindParent() 在 c:\Users\kyle.wingate\Documents\Visual Studio 2013\Projects\IgniteUIHTMLEditorExample\IgniteUIHTMLEditorExample\Controllers\ServiceHistoryController.cs:line 53 在 lambda_method (Closure , ControllerBase , Object[] ) 在 System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase 控制器, Object[] 参数) 在 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 个参数)在 System.Web.Mvc.Async.AsyncControllerActionInvoker.b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) 在 System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult 的 System.Web.Mvc.Async.AsyncControllerActionInvoker.ActionInvocation.InvokeSynchronousActionMethod() 2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase1.End() at System.Web.Mvc.Async.AsyncResultWrapper.End[TResult](IAsyncResult asyncResult, Object tag) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) 在 System.Web.Mvc。 Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b__3d() 在 System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.b__3f()

0 投票
1 回答
510 浏览

jquery - 如何在更改单元格值时使行只读

我需要根据使用jQuery更改相应行的单元格值来使一行只读。我正在使用角度IgGrid(Infragistics)。

0 投票
1 回答
552 浏览

asp.net-mvc - 修复 igGrid 中的列应该只为整行显示单个“添加新行”按钮

我是“基础设施”“igGrid”控件的新手。

我在这里面临的问题是,当结合列固定启用更新时,会显示两个单独的“添加新行”按钮,一个用于固定列区域,一个用于非固定列区域。

在此处输入图像描述

我希望只有一个“添加新行”按钮应该出现,即只有固定列(左侧)“添加新行”按钮应该显示,单击它后,用户可以添加新行。

另外,请告诉我这是 igGrid 的默认设置,每次为每个固定列区域显示“添加新行”按钮吗?

有没有我可以在 HTML 代码中设置的属性,而不是编写一些 JavaScript 函数来解决我面临的问题?

我试过的解决方案:下面是 igGrid 的示例/测试 HTML 代码的 .xml 文件(无法发布原始 HTML 代码)。我试图设置2个属性:

HasAddRowFeature="False" AllowAddNewRow="Disable" 在设置为“Isfixed”的第二列中,但它没有提供所需的输出。

请提出一些解决方案。提前致谢。

0 投票
1 回答
158 浏览

asp.net-mvc - igniteUI Grid 的运行时错误“Object [object Object] 没有方法 'igGrid'”

代码片段显示运行时错误“Object [object Object] has no method 'igGrid'”

页面源也显示以下数据,但未形成 IgniteUi 网格

代码如下;

@Ignite UI 所需的组合 JavaScript 文件@

0 投票
1 回答
132 浏览

javascript - 是否可以在 igGrid Infragistics 2012 控件中插入回车和/或换行?

是否可以在 igGrid Infragistics 控件中插入

回车/换行

在单元格的文本内?

例如给定下一个数据源:

你可以在单词 Adjustable 和 Race 之间看到字符“\r\n”,但它不起作用......我试过:

在每次测试中,我在屏幕上看到的都是字符而不是新行……也许有一个我不知道的设置……

如果您需要一个完整的测试示例:

0 投票
1 回答
482 浏览

infragistics - 保留 igGrid 过滤设置

我在 Infragistics igGrid 中显示一些数据。显示后,我操作了一些显示的行并重新加载数据。重新加载后,数据网格会重置过滤器设置。重新加载数据后如何手动调用数据过滤功能。