hello all
need urgent help atleast from sm 1..as past 2 days i m stuglling for solution
i hv ultragrid on form ..and when i right click on it another form should open with 2nd ultragrid (till here i hv done)
-in 2nd grid field names should be in column 1,
you must not hardcode these field names but derive the field names from the recordset
-the display order in column 2,
-the sort type whether asc/desc in 3rd column,
-and the 4 col will be the sort order ,
the list of fields in this table should be automatically generated from the corresponding record set on which you right clicked.(in short when i right click on 1st grid 2nd grid should open which will allow me to choose fields and sort result in 1st grid..)
plz tel me how to proceedd with this.......
There's no automatic way to do this, you will need to build a form that displays what you need. You could use a grid with an UltraDataSource and build the data source to have the columns and the data that you want and bind it to a second grid.