Hi,
I am using XamDataGrid, and want to sort a DataTime field in Descending Order defaultly(OnLoading) and display the number of records based on a setting(Numer of records to be displayed).how can i do this.thanks in advance.
Hello,
In order to do this, you have to add a FieldSortDescription when the XamDataGrid loads to the SortedFields collection of the FieldLayout. You can set the Field that you would like to sort, the direction and whether this records should be grouped or not. Regarding your second requirement, I was not able to understand what you are trying to achieve. Do you have in mind something like Row Summaries feature.
thanks for the quick reply, regarding my 2nd requirement ...let's say i am getting 100 records from the DataBase but want to display only top 50 records (this count comes from a random user setting), this is what i want.