Gridview中的可扩展和可折叠列 [英] Expandible and Collapsible Columns in Gridview
问题描述
大家好,
我的数据实现让我对如何表示数据感到困惑。
在Gridview上,我有动态填充的月度数据,在Grid列上有几个月。
现在分配的任务是进入一个级别。 />
例如:我选择一个特定的月份,该列会扩展以适应该月的周数......选择一个特定的一周,该列将展开以适应该周的日期。
简而言之,我需要在Gridview中使用一种可扩展和可折叠的列。
需要你的协助。
谢谢
Hi Guys,
My implementation of data has puzzled me as to how to represent the data.
On a Gridview, i have monthly data populated dynamically, with months on the Grid columns.
Now the task assigned is to go one level inside.
For example: i select one particular month and the column expands to accommodate the weeks in that month......select a particular week and the column expands to accomodate the days in that week.
So in short, i need kind of a Expandible and Collapsible Columns in Gridview.
Need your assistance .
Thank you
推荐答案
这个 [ ^ ]示例不完全是w你想要的帽子,但玩一些javascript将使你达到你的要求。另外,这个 [ ^ ]示例将指导您使用带有展开/折叠功能的嵌套gridview。
This[^] example is not exactly what you want but playing with a bit of javascript will make you achieve what your requirement is. Also, This[^] example will guide you to use nested gridview with expand/collapse functionality.
感谢Zafar获取该链接。对于一些排队的项目会派上用场。
我目前正在寻找可折叠的列而不是行。
Thanks Zafar for that link. Would come in handy for some lined up projects.
I am currently on a look out for collapsible columns rather than rows.
这篇关于Gridview中的可扩展和可折叠列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!