RadGridView Cell AutomationElement not giving correct Header using TableItemPattern

4 posts, 0 answers
  1. Dharmavaram
    Dharmavaram avatar
    102 posts
    Member since:
    Jun 2013

    Posted 30 Nov 2016 Link to this post

    Hi,

       We are trying to get the columnHeaderProperty using TableItemPattern on the Automationelement of cell inside RadGridView but it is giving wrong header value. It is giving the next header value. Here RawGridView have columns and rows virtualization support enabled.

    Regards,

    Nagasree.

     

  2. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 02 Dec 2016 Link to this post

    Hi Nagasree,

    In order to avoid any misunderstandings, may I kindly ask you to provide some additional information regarding your exact setup? In what manner is the header of the cell obtained? Generally, all information that you consider as relevant would be useful.

    Regards,
    Stefan X1
    Telerik by Progress
    Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
  3. Dharmavaram
    Dharmavaram avatar
    102 posts
    Member since:
    Jun 2013

    Posted 04 Dec 2016 in reply to Stefan Link to this post

    Hi Stefan,

        I am trying to get columnHeader using automation element. I will try to explain it with example. I am getting the automation element of grid cell using from point API of AutomationElement.FromPoint(x,y).Later I am getting the columnHeader of that cell using TableItemPattern.GetColumnHeaderProperty() available on cell AutomationElement. Here it is giving not respective columnheader name but giving other column header. I feel patterns are not working as expected on RadGridview. 

    Let me know still you need information.

    Regards,

    Nagasree

  4. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 07 Dec 2016 Link to this post

    Hello Nagasree,

    Thanks for the update.

    I tried to replicate such behavior on my end, but to no avail. Can you please check out the attached image demonstrating my test? May I also ask you to double check whether you are clicking the correct cell(the one that you expect to get the header of)?

    Regards,
    Stefan X1
    Telerik by Progress
    Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Back to Top