Description:
I am using RepositoryItemCheckEdit in GridView. How can I change its value?
Answer:
Applies to: XtraVerticalGrid Suite, XtraBars Suite, XtraTreeList Suite
RepositoryItems do not store values, because the same RepositoryItem is used for all GridView cells. Please review the following Knowledge Base article to better understand the concept of RepositoryItems:
K18364: Why doesn’t the RepositoryItem have the methods that the editor has?
The solution to this task is the same for all our containers and RepositoryItems: you need to use the container's methods to change a value. In case of GridView, you need to modify a cell's value as described in the Obtaining and Setting Cell Values article. A cell will be automatically updated and an inplace CheckEdit will be checked.
Here are corresponding solutions for other containers:
XtraVerticalGrid Suite - Obtaining and Setting Cell Values
XtraBars Suite - BarEditItem.EditValue Property
XtraTreeList Suite - Obtain and Set Cell Values Overview
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.