andyhill Posted March 23, 2023 Share Posted March 23, 2023 mygrid Columns.Items[FldIdx].FieldName:= 'ID'; Columns.Items[FldIdx].Visible:= False; ... procedure TfMain.mygridRowExpand(Sender: TUniCustomDBGrid; const RowId: Integer; var RowControl: TControl; Container: TUniContainer); Need 'ID' value Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 23, 2023 Share Posted March 23, 2023 3 hours ago, andyhill said: procedure TfMain.mygridRowExpand(Sender: TUniCustomDBGrid; const RowId: Integer; var RowControl: TControl; Container: TUniContainer); Need 'ID' value Hello, If I understand you correctly... procedure TMainForm.UniDBGrid1RowExpand(Sender: TUniCustomDBGrid; const RowId: Integer; var RowControl: TControl; Container: TUniContainer); begin ShowMessage((Sender as TUniDBGrid).DataSource.DataSet.FieldByName('Id').AsString) end; Quote Link to comment Share on other sites More sharing options...
andyhill Posted March 23, 2023 Author Share Posted March 23, 2023 Perfect - Thank You Quote Link to comment Share on other sites More sharing options...
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.