编码 UI - 如何识别动态插入的网格行和列
在控件属性中,新行的名称等于卷行 62,行索引等于 61 - 如记录的那样,并在几列中添加值。
当我插入带有外部数据的新行并填充相应的列时,它会尝试覆盖记录中使用的行中的列数据,而不是正在插入的行。
如果我从“行属性”中删除 62 和 61 并使其通用,它将转到网格中的第一行并尝试编辑。
应更改或搜索哪些属性,以便在新行(其名称和行索引未知)中正确填充列。
任何帮助表示赞赏。
谢谢。
In the control properties, new row has name equals to Volume Row 62 and Row Index equals to 61 - as recorded and add values in few columns.
When I insert a new row with external data and fill the respective columns, it tries to override the column data in the row which was used in the recording and not the one that is being inserted.
If i remove the 62 and 61 from the Row Properties and make that general, it goes to the first row in the grid and tries to edit.
What properties should be changed or searched for so that columns is populated correctly in the the new row (whose name and row index is not known).
any help is appreciated.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了在我们的应用程序中解决这个问题,我们导出了 UI 映射方法并使用 VAR 创建了一个临时列表,我不知道这是否适合您,但解决了我们关于动态网格行和列的几个问题:
public void DoubleClickLaunch_UOW()
{
To solve this in our application we exported the UI map method and created a temp list using VAR I don't know if this will work for you or not but solved several of our issues around dynamic grid rows and columns:
public void DoubleClickLaunch_UOW()
{