We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to use the RowAccessibleObjects and CellAccessibleObjects of the Grid control?

Thread ID:

Created:

Updated:

Platform:

Replies:

72939 Apr 11,2008 05:52 AM Jun 13,2011 05:03 PM Windows Forms 2
loading
Tags: GridControl
Richard
Asked On April 11, 2008 05:52 AM

I found that the syncfusion grid control has the RowAccessibleObjects and CellAccessibleObjects that provide the accessibility functionalities to the cell level. However, these properties are all internal properties that I can’t accessed. Although I can set the AccessibilityEnabled property to true to make the grid control accessible, but the grid control only return the GridDataBoundGridRecordAccessibleObject, which won’t navigate into its cell children.
So, how can I use the RowAccessibleObjects and CellAccessibleObjects to retrieve the accessible info of each cell in the grid?


haneefm [Syncfusion]
Replied On April 24, 2008 04:52 PM

Hi Richard,

GridDataBoundGrid has a protected method, CreateAccessibilityInstance, that allows you to create an AccessibleObject for the grid. From there, you can get GridDataBoundGridRecordAccessibleObject and GridDataBoundGridFieldHeaderAccessibleObject. So, the basic accessibilty support is already included. But generally, each application has to customize this support based on its needs.

Here is a minimal sample that shows you "How to customize the accessibilty object in a Grid?".
http://www.syncfusion.com/support/user/uploads/gdbg_accessibilty.zip

Best regards,
Haneef


Darren Mombourquette
Replied On June 13, 2011 05:03 PM

Would you be able to provide the exact same example but for a grouping grid? I tried to take this example but re-write it against a grouping grid but I'm running into many issues because the API's are different.
Thanks


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;