Dear Sir,
I want to add a child row in specific parent row , what i am text in text box they add a child row below parent row . I am Using VS2010 and framework is 4.0.. I attach a screenshot of my programme. Please Help me.
Hi Jayamanickam,
Thank you for posting in our forums.
You can use the AddNewBox feature of the grid in order to achieve this functionality. It allows adding new rows to the selected row. For more information about this feature, please follow this link:
http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinGrid.v12.2~Infragistics.Win.UltraWinGrid.UltraGridLayout~AddNewBox.html
Note that in order for the AddNewBox to be able to add a new row your underlying data source should be able to support this. This means that if you are using a List<T>, the class that represents the parent band should have another List<T> property where T would be the class that represent the child band. If you are using DataSet you should have DataTable which represents the child band.
I have attached a small sample which demonstrates this suggestion.
Please let me know if you have any additional questions.