SlickGrid C# 包装器
我发现了一个代码片段的戏弄:
slickGrid.AddColumn(
Column.ForId("riga")
.Named("Riga")
.ForField("id")
.WithEditorFunction("TextCellEditor")
.WithSetValueHandler("updateItem")
.WithBehavior(Column.Behavior.selectAndMove)
).AddColumn(
Column.ForId("codice")
.Named("Codice")
.ForField("code")
.WithEditorFunction("TextCellEditor")
.WithSetValueHandler("updateItem")
.WithBehavior(Column.Behavior.selectAndMove)
);
如果SlickGrid 有一个使用这种流畅语法的 C# 包装器,但我似乎找不到。谷歌显示一片空白。这是一些专有的包装还是我只是没有找对地方?
I found this tease of a code snippet:
slickGrid.AddColumn(
Column.ForId("riga")
.Named("Riga")
.ForField("id")
.WithEditorFunction("TextCellEditor")
.WithSetValueHandler("updateItem")
.WithBehavior(Column.Behavior.selectAndMove)
).AddColumn(
Column.ForId("codice")
.Named("Codice")
.ForField("code")
.WithEditorFunction("TextCellEditor")
.WithSetValueHandler("updateItem")
.WithBehavior(Column.Behavior.selectAndMove)
);
It would be seriously terrific if there was a C# wrapper for SlickGrid that uses this fluent syntax, but I can't seem to find one. Google comes up blank. Is this some proprietary wrapper or am I just not looking in the right places?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是一个用于演示的工作原型(在晚上编写的;)。给我几天时间,我会尝试在 Codeplex 或 GitHub 上分享代码
更新:已发布 http://lucilla.codeplex.com/SourceControl/changeset/changes/7a72573dc846
您将找到一个示例 mvc 应用程序和帮助程序原型..希望在今年年底之前发布整个框架(如果您想知道 lib 文件夹的用途..)
Was a working prototype (written at night ;) for a demo. Give me few days and I'll try to share the code on Codeplex or GitHub
Update: published http://lucilla.codeplex.com/SourceControl/changeset/changes/7a72573dc846
You'll find a sample mvc app and the helper prototype.. hope to publish the whole framework by the end of the year (if you wonder what the lib folder is for..)