I have a form with a datagrid on it. The table only has two columns. I'm only showing one of those columns. The column I am showing is called "Categories". The hidden field is the primary key and the data is being sorted on that by default.
When the form opens I can click the header in the datagrid and get the data to sort by the Category. Is there a way to sort on this column at form load?
All of my searches have resulted in solutions that involved adding of additional columns which just doesn't seem right to me. If I can click it, there should be a way to mimic that event in code right?
Any assistance is greatly appreciated.
When the form opens I can click the header in the datagrid and get the data to sort by the Category. Is there a way to sort on this column at form load?
All of my searches have resulted in solutions that involved adding of additional columns which just doesn't seem right to me. If I can click it, there should be a way to mimic that event in code right?
Any assistance is greatly appreciated.