简体   繁体   English

需要帮助以使用Infragistics webdatagrid

[英]Need help to work with Infragistics webdatagrid

am first time working in the Infragistics webdatagrid. 我是第一次在Infragistics网站数据网格中工作。

So far ,I installed the trail version and binded the data(datatable) to the webdatagrid successfully . 到目前为止,我安装了Trail版本并将数据(数据表)成功绑定到webdatagrid。 Now i got the requirement to edit the data in that webdatagrid. 现在,我需要编辑该webdatagrid中的数据。

I googled it , but i couldnt get exact and much information about it. 我用谷歌搜索,但我无法获得确切的信息。 so i stucked 所以我卡住了

If anyone worked or knows ,could you please guide me in correct direction? 如果有人工作或知道,请您指导我正确的方向吗?

thanks karthik 谢谢karthik

To edit the cells in the grid you will need to add the EditingCore behavior and then add the CellEditing behavior to that. 要编辑网格中的单元格,您需要添加EditingCore行为,然后向其添加CellEditing行为。 For example: 例如:

<Behaviors>
    <ig:Activation />
    <ig:Selection RowSelectType="Multiple" CellClickAction="Row" />
    <ig:EditingCore>
        <Behaviors>
            <ig:CellEditing Enabled="true" >
                <EditModeActions EnableF2="true" EnableOnActive="true" MouseClick="Single" />
                <ColumnSettings>
                    <ig:EditingColumnSetting ColumnKey="CustomerID" ReadOnly="true" />
                </ColumnSettings>                               
            </ig:CellEditing>
        </Behaviors>
    </ig:EditingCore>
</Behaviors>

This was taken from the Cell Editing - Basic Features online sample. 这取自“ 单元格编辑-基本功能”在线示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM