개정판 fddb48f7
issue #1034 Save, Consolidate 시 User Information List Grouping Sorting
Change-Id: Ifed4d428b07aa3b5020a4fcb785cb2809990db38
KCOM/Services/BaseServices.cs | ||
---|---|---|
16 | 16 |
using System.Windows.Controls; |
17 | 17 |
using Telerik.Windows.Controls; |
18 | 18 |
using MarkupToPDF.Controls.Parsing; |
19 |
using Telerik.Windows.Data; |
|
19 | 20 |
|
20 | 21 |
namespace KCOM.Views |
21 | 22 |
{ |
... | ... | |
375 | 376 |
|
376 | 377 |
var select_item = ViewerDataModel.Instance._markupInfoList.Where(info => info.UserID == App.ViewInfo.UserID).OrderByDescending(order => order.Consolidate == Convert.ToInt32(true)).FirstOrDefault(); |
377 | 378 |
this.gridViewMarkup.SelectedItem = select_item; |
379 |
|
|
380 |
gridViewMarkup.GroupDescriptors.Clear(); |
|
381 |
GroupDescriptor descriptor = new GroupDescriptor(); |
|
382 |
descriptor.Member = "Depatment"; |
|
383 |
descriptor.DisplayContent = "DEPT"; |
|
384 |
descriptor.SortDirection = ListSortDirection.Ascending; |
|
385 |
gridViewMarkup.GroupDescriptors.Add(descriptor); |
|
378 | 386 |
} |
379 | 387 |
} |
380 | 388 |
|
내보내기 Unified diff