Skip to main content
 首页 » 编程设计

c#之SlickGrid C# 包装器

2024年02月24日23langtianya

我发现了一段代码片段:

http://codepaste.net/m6xsdi

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# 包装器,那将是非常棒的,但我似乎找不到。谷歌出现空白。这是一些专有包装器还是我没有找对地方?

请您参考如下方法:

是用于演示的工作原型(prototype)(在晚上编写;)。给我几天时间,我会尝试在 Codeplex 或 GitHub 上分享代码

更新:已发布http://lucilla.codeplex.com/SourceControl/changeset/changes/7a72573dc846 您会找到一个示例 mvc 应用程序和帮助程序原型(prototype)。希望在年底前发布整个框架(如果您想知道 lib 文件夹的用途...)