Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
975
how to set Group Column in code without sorting
posted

Hi,

e.Layout.Bands[0].SortedColumns.Add("Date", false, true);

Group by column is done using above code but my problem is I dont want sorting on Date Column. Following is the example of Data in data table and its display in grid with sorting of Date column That i don't want.

 

Time Job File Result Result Value Connection Name Date
03:04:00 PM Test Test.xml Passed 5 GTL-225\DONTDELETE Today
12:46:00 PM Test Test.xml Error 0 GTL-225\DONTDELETE Today
12:46:00 PM Test Test.xml Warning 0 GTL-225\DONTDELETE Today
12:45:00 PM Test Test.xml Information 12 GTL-225\DONTDELETE Today
12:44:00 PM Test Test.xml

GTL-225\DONTDELETE Today
05:28:00 PM Test Test.xml Passed 18 GTL-225\DONTDELETE Yesterday
05:26:00 PM Test Test.xml Error 0 GTL-225\DONTDELETE Yesterday
12:09:00 PM Test Test.xml

GTL-225\DONTDELETE Yesterday
06:17:00 PM Job Test.xml Passed 7 GTL-225\DONTDELETE Wednesday
05:09:00 PM Job Test.xml Error 4 GTL-225\DONTDELETE Wednesday
05:07:00 PM Job Test.xml Warning 0 GTL-225\DONTDELETE Wednesday
05:07:00 PM Job Test.xml Information 11 GTL-225\DONTDELETE Wednesday
11:57:00 AM Job Test.xml

GTL-225\DONTDELETE Wednesday
10:54:00 AM Job Test.xml Passed 0 GTL-225\DONTDELETE Tuesday


Is there any other way to Group Column in code?

 

Parents Reply Children
No Data