c# - Ultrawingrid layout -
i working on ultrawingrid. grid has 2 columns name & age. more 300 rows in grid, user needs lot of scrolling. want change layout of grid display information possible , minimum scrolling.
so example, presently looks like
name age sam 25 bob 20 irvin 45 tanya 24 mark 30 how, intend display
sam 25 bob 20 irvin 45 tanya 24 mark 30 so essentially, in form of matrix set number of rows , columns , scroll-able vertically (and not horizonatally)
i tried play around cardview property http://help.infragistics.com/help/doc/winforms/2012.1/clr2.0/html/infragistics2.win.ultrawingrid.v12.1~infragistics.win.ultrawingrid.ultragridband~cardview.html , setting maxcardareacols , maxcardarearows settings, doesn't work. tried follow rowlayout property setting layout columnlayout , did not work either.
is there way achieve it?
a hack might work create special class display purposes.
public class displayrow { string name1 { get; set; } string age1 { get; set; } string name2 { get; set; } string age2 { get; set; } // on... } but complicates logic , gets quite ugly depending on complexity of you're doing.
Comments
Post a Comment