如何创建可折叠数据网格?

时间:2021-12-28 05:59:31

How to Create Collapsible Data Grid in dot net windows form application?

如何在dot net windows窗体应用程序中创建可折叠数据网格?

2 个解决方案

#1


AFAIK there are no default controls that would support this. You'll need a 3rd party control library. I recommend Devexpress

AFAIK没有支持此功能的默认控件。你需要一个第三方控制库。我推荐Devexpress

#2


I don't know of a specific API method, but you can use Javascript to make it collapsing, or simply a postback in which you only set the visibility.

我不知道具体的API方法,但您可以使用Javascript来使其折叠,或者只是使用仅设置可见性的回发。

#1


AFAIK there are no default controls that would support this. You'll need a 3rd party control library. I recommend Devexpress

AFAIK没有支持此功能的默认控件。你需要一个第三方控制库。我推荐Devexpress

#2


I don't know of a specific API method, but you can use Javascript to make it collapsing, or simply a postback in which you only set the visibility.

我不知道具体的API方法,但您可以使用Javascript来使其折叠,或者只是使用仅设置可见性的回发。