[英]how to select last row in TGrid on the click of a button
how does one select the last row in a TGrid when the user clicks on a button?当用户单击按钮时,如何选择 TGrid 中的最后一行? I have a table which is filtered by date and I have a start date and end date button.我有一个按日期过滤的表格,我有一个开始日期和结束日期按钮。 When the user clicks them I need it to select the specific row.当用户单击它们时,我需要它来选择特定的行。
invoicesGrid.SelectRow(invoicesGrid.RowCount-1);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.