I am trying to remove dynamically added elements from my border container. I have tried with the getChildIndex method, but it was not able to get through. Following is the syntax i am trying to use.
bc is my border container index.
Please suggest me a way to do this.
Try using getElementIndex() instead of getChildIndex()