Forum Discussion

pratyushdash's avatar
pratyushdash
Occasional Contributor
13 years ago

How can I access (click) to the cell of a table derived from XtraTreeList of DevExpress.

How can I access (click) to the cell of a table derived from XtraTreeList of DevExpress.



I am attaching the sample application,

I have tried the methods whatever is available on the website but still am unable to.

In the sample application if I want to select a cell like info9 which is not visible unless i scroll down how do i select the cell.



Thanks

Pratyush

  • Hi Pratyush,


     


    You can use the MouseWheel method to scroll to the needed object. For example:




    var dxExample;


    var treeList;


    dxExample = Sys.Process("dxExample");


    dxExample.WinFormsObject("Form1").WinFormsObject("popupContainerEdit1").DropDown();


    treeList = dxExample.WinFormsObject("PopupContainerForm", "").WinFormsObject("popupContainerControl1").WinFormsObject("treeList1");


    treeList.MouseWheel(-3);