MOSS 2007:向 ListView Web 部件添加筛选器
我参与了一个 sharepoint 2007 项目,而且我在更改现有 Web 部件方面经验相对较少。
我的第一个任务是向列表视图中三列中的两列添加过滤器。我的首席开发人员建议尝试添加 jquery 组合框过滤器,另一位开发人员建议扩展 Web 部件并覆盖某些功能。
我认为一个不错的选择是更改列表视图标题的上下文菜单,这样就不会出现“显示过滤器选项”显示仅响应第一个字母的标准下拉列表,而是会有一个 jquery 组合框。如果企业要求的话,也许可以更改该选项的措辞。
我问你的问题是,解决这个问题的好方法是什么?另外,除了阅读书籍和博客之外,还有哪些资源可以指导 SP 新手做到这一点?
谢谢。
I have been dropped into a sharepoint 2007 project, and i have relatively little experience with altering existing webparts.
My first task is to add a filter to two out of three columns in a list view. My Lead Dev suggests trying to add a jquery combo-box filter, and another dev suggests extending the web part and overriding some of the functionality.
What i think is a good option is to change the context menu for the list view headers, so that instead of "Show Filter Choices" bringing up a standard dropdownlist that only responds to the first letter, it would have a jquery combobox. And maybe if the business requests it, change the wording of that option.
My question to you is, what would be a good path to take on this? Also, what resources are there besides traipsing around books and blogs are there to guide an sp newbie to do this?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
像这样的事情怎么样:
需要通过内容编辑器 Web 部件将其添加到页面。
How about something like this:
It will need to be added to the page via a content editor web part.