i m new to ultragrid n tried a lot..but not succeeded Plz help very urgent......
1) how to insert new row when click on add button...if any previous row is there has to clea out and add only 1 new row..
how to delete row on click of delete button (i tried using deleteselectrow..but need to select row first..what if only 1 row is present then need to directly delete present row) 2) I am using VB6 with MS Access as backend database. The recordset is bounded to database through� Infragistics ultragrid. (Set ultraGrid.DataSource = rs) I have 3 columns in Infragistics ultragrid & 3 Textboxes on form. Now, when I move through the records in ultraGrid the exact data in the cells should appear in the related textboxes. in msflex i think we do with Text1.Text = MSHFlexGrid1.TextMatrix(MSHFlexGrid1.Row,1) How to get this job done? in ultragrid plz help..sm1 atleast
Adding New Rows to WinGrid: http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=WinGrid_Adding_New_Rows_to_WinGrid.html.
AllowDelete property: http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=Infragistics2.Win.UltraWinGrid.v10.2~Infragistics.Win.UltraWinGrid.UltraGridOverride~AllowDelete.html.
Delete can also be used when you a reference to a row by calling row.Delete(false). The false stands for a bool to either ask for a confirmation box or not.
Binding WinGrid Rows to Text Boxes: http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=WinGrid_Binding_WinGrid_Rows_to_Text_Boxes.html.
By the way the WinGrid control is for .NET and not vb6 so I'm assuming you are using vb.net.