扩展或修改SharePoint数据表视图 [英] Extending or modifying the SharePoint Datasheet view

查看:118
本文介绍了扩展或修改SharePoint数据表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人发现一种扩展或修改SharePoint数据表视图(在数据表模式下编辑列表时使用的视图,看起来像基本的Excel工作表的视图)功能的方法?

Has anyone discovered a way to extend or modify the functionality of the SharePoint Datasheet view (the view used when you edit a list in Datasheet mode, the one that looks like a basic Excel worksheet)?

如果可能的话,我需要对它做几件事,但是我还没有找到一种体面的非骇客的方式来更改其中的任何功能.

I need to do several things to it, if possible, but I have yet to find a decent non-hackish way to change any functionality in it.

我想做的一个例子是对查找字段启用级联过滤-因此,一个字段中的选择会限制另一字段中的可用选择.在标准视图表单中有一种方法可以执行此操作,但是数据表视图是完全独立的.

An example of what I wish to do is to enable cascading filtering on lookup fields - so a choice in one field limits the available choices in another. There is a method to do this in the standard view form, but the datasheet view is completely seperate.

致谢

Moo

推荐答案

我认为您无法以任何非骇客的方式对其进行修改,但是您可以从头开始创建新的数据表视图.为此,您可以创建一个新的ActiveX控件,并将其公开为COM对象,然后修改web.config文件以引用该新ActiveX控件.

I don't think you can modify it in any non-hackish way, but you can create a new datasheet view from scratch. You do this by creating a new ActiveX control, and exposing it as a COM object, and modifying the web.config file to make reference to the new ActiveX control.

这里有一个例子: 创建自定义数据表控件.

这篇关于扩展或修改SharePoint数据表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆