Guest Posted March 27, 2011 Posted March 27, 2011 Message from: "scarre" Hello, How can assign objects to UniStringGrid cells (or rows). TStringGrid has Objects[Col,Row] property. Is this implemented in TUniStringGrid ? As a workaround I am storing object pointers typecast to integers in a 0 width (hidden) column (see code below). However, 0 width columns are still partly visible in a browser (I'm testing with Firefox). UniStringGrid.Cells[x,y] := IntToStr(Integer(MyObject)); MyObject := TMyObject(StrToInt(UniStringGrid.Cells[x,y])); Regards, Stephane . Quote
Guest Posted March 28, 2011 Author Posted March 28, 2011 Message from: "Farshad Mohajeri" "scarre" wrote in message news:%23xK7aSL7LHA.1980@anaxagvs227... > Hello, > How can assign objects to UniStringGrid cells (or rows). TStringGrid has > Objects[Col,Row] property. > Is this implemented in TUniStringGrid ? > As a workaround I am storing object pointers typecast to integers in a 0 > width (hidden) column (see code below). However, 0 width columns are still > partly visible in a browser (I'm testing with Firefox). > UniStringGrid.Cells[x,y] := IntToStr(Integer(MyObject)); > MyObject := TMyObject(StrToInt(UniStringGrid.Cells[x,y])); Objects[Col,Row] property is not implemented on Web side. Logged #949 . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.