1, I am bcb2010 compiler tools, DBGrid, DataSource, ADOQuery,
2, in the DBGrid TitleClick incident, click sort,
ADOQuery1 - & gt; Sort=Column - & gt; FieldName + "ASC";
Or
ADOQuery1 - & gt; Sort=Column - & gt; FieldName + "DESC";
3, it can really achieve sorting, but when the column is large, drag the scroll bar, click on the column data, automatically scroll to the first column,
Now I want to achieve, click a column, sorted by the column, the keep shows the column, don't automatically jump to the first column, how to implement? Thank you,