简体   繁体   English

CRM 2011:Subgrid在折叠选项卡中时不包括分页

[英]CRM 2011: Subgrid does not include paging when its inside a collapsed tab

I have a CRM subgrid inside a tab, and in my code (JS) I'm using Xrm.Page.ui.tabs.get("XXX").setDisplayState("collapsed") if the subgrid doesn't contain data. 我在选项卡中有一个CRM子网格,在我的代码(JS)中,如果该子网格不包含数据,则使用Xrm.Page.ui.tabs.get(“ XXX”)。setDisplayState(“ collapsed”)。 When I open the tab, the subgrid inside it has only one empty line (instead of filling the tab area although the grid is set to fill the tab) and doesn't have its footer with the paging. 当我打开选项卡时,其中的子网格只有一个空行(尽管网格设置为填充选项卡,而不是填充选项卡区域),并且页脚没有页脚。 Farther more, when adding records to the subgrid, I can see just the first record(cause its in the first line) and in order to see the rest I have to refresh the form so the tab will remain open. 此外,将记录添加到子网格时,我只能看到第一个记录(因为它在第一行中),为了查看其余记录,我必须刷新表单,以便选项卡保持打开状态。 This happens while closing the tab automatically (via js) and not in case of customizing the tab to be close in the form. 这是在自动关闭选项卡时(通过js)发生的,而不是在自定义选项卡在表单中关闭时发生的情况。 Ps: when resizing the page - the subgrid inside the tab gets fine. 附:调整页面大小时,选项卡内的子网格可以正常使用。

I looked for a solution with no success, Any ideas how to fix this problem? 我正在寻找没有成功的解决方案,关于如何解决此问题的任何想法?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM