SayeyeZohor Posted February 20, 2019 Share Posted February 20, 2019 سلام یک مشکل در رابطه با گرید دارم من چک باکس گرید رو فعال کردم و زمانیکه کاربر انتخاب میکنه هر رکورد رو من ایندکس رکوردهای انتخاب شده را در یک متغیر رشته ای ذخیره می کنم به این صورت 612,613,625,630 حالا می خوام زمانی که ویرایش زده شد همین رکوردهایی که انتخاب شده را از طریق کد انتخاب کنم این کد رو نوشتم ولی جواب نمیده TS := TStringList.Create; TS.Delimiter := ','; TS.DelimitedText := UniMainModule.V_NezaratD2.EshkalSerialStr; FOR I := 0 TO TS.Count - 1 DO begin UniDBGrid1.JSInterface.JSCall('getSelectionModel().select', [TS, True]); Link to comment Share on other sites More sharing options...
Sherzod Posted February 20, 2019 Share Posted February 20, 2019 Hello, ... UniDBGrid1.JSInterface.JSCall('getSelectionModel().select', [StrToInt(TS[I]), True]); ... Link to comment Share on other sites More sharing options...
SayeyeZohor Posted February 20, 2019 Author Share Posted February 20, 2019 Quote 5 hours ago, Sherzod said: Hello, ... UniDBGrid1.JSInterface.JSCall('getSelectionModel().select', [StrToInt(TS[I]), True]); ... Hello tnx for support ... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now