I have component hierarchy such as this
Form>P:DataList
>DataTable1
>DataTable2
When I see the generated html code or developers tool in ie, I found the client id generated for the datatables are
form:datalist:0:DataTable
form:datalist:1:DataTable
However when I invoke ViewRoot.findComponent with the above client Id, it return null.When I removed the "rowIndex" value i.e 0/1 it then only returns the first datatable. How to make it work so that I can find both the data tables from backend using their Ids?