简体   繁体   中英

Need help to work with Infragistics webdatagrid

am first time working in the Infragistics webdatagrid.

So far ,I installed the trail version and binded the data(datatable) to the webdatagrid successfully . Now i got the requirement to edit the data in that 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

To edit the cells in the grid you will need to add the EditingCore behavior and then add the CellEditing behavior to that. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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