프로젝트

일반

사용자정보

개정판 86e04390

ID86e043906002409635e2f0241b969f7ae504c4f8
상위 9650b78d
하위 d62e37ef

김태성이(가) 일년 이상 전에 추가함

issue #00000 Full Text Search의 Markus Data 검색가능하도록 수정

Change-Id: I4b973bbbd9cc6e128369c086b7aced78bd20f6f0

차이점 보기:

ID2.Manager/ID2.Manager/Controls/SearchRow.cs
11 11
    {
12 12
        public SearchRow(GridViewInfo viewInfo) : base(viewInfo)
13 13
        {
14
           
14 15
        }
15 16

  
16 17
        protected override bool MatchesSearchCriteria(string searchCriteria, GridViewRowInfo row, GridViewColumn col)
ID2.Manager/ID2.Manager/Main.Designer.cs
483 483
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
484 484
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F));
485 485
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
486
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 79F));
486
            this.tableLayoutPanelCondition.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 82F));
487 487
            this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListFrReviewStatus, 4, 2);
488 488
            this.tableLayoutPanelCondition.Controls.Add(this.radDropDownListToIsDiscussion, 2, 2);
489 489
            this.tableLayoutPanelCondition.Controls.Add(this.radLabelFrReviewStatus, 3, 2);
......
1431 1431
            // 
1432 1432
            // radCommandBar1
1433 1433
            // 
1434
            this.radCommandBar1.Dock = System.Windows.Forms.DockStyle.Top;
1434
            this.radCommandBar1.Dock = System.Windows.Forms.DockStyle.Fill;
1435 1435
            this.radCommandBar1.Location = new System.Drawing.Point(3, 3);
1436 1436
            this.radCommandBar1.Name = "radCommandBar1";
1437 1437
            // 
......
1454 1454
            // 
1455 1455
            // commandBarSearch
1456 1456
            // 
1457
            this.commandBarSearch.Alignment = System.Drawing.ContentAlignment.TopLeft;
1457
            this.commandBarSearch.Alignment = System.Drawing.ContentAlignment.MiddleCenter;
1458 1458
            this.commandBarSearch.DisplayName = "Text Search";
1459 1459
            this.commandBarSearch.DrawImage = true;
1460 1460
            this.commandBarSearch.DrawText = false;
......
1480 1480
            // 
1481 1481
            // 
1482 1482
            // 
1483
            this.commandBarSearch.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
1483
            this.commandBarSearch.OverflowButton.StretchVertically = true;
1484
            this.commandBarSearch.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Visible;
1484 1485
            this.commandBarSearch.StretchHorizontally = true;
1485 1486
            this.commandBarSearch.StretchVertically = false;
1486 1487
            this.commandBarSearch.Text = "";
1488
            this.commandBarSearch.ItemOverflowed += new System.EventHandler(this.commandBarSearch_ItemOverflowed);
1489
            this.commandBarSearch.ItemOutOfOverflow += new System.EventHandler(this.commandBarSearch_ItemOutOfOverflow);
1487 1490
            ((Telerik.WinControls.UI.RadCommandBarGrip)(this.commandBarSearch.GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
1488
            ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarSearch.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
1491
            ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarSearch.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Visible;
1492
            ((Telerik.WinControls.UI.RadCommandBarOverflowButton)(this.commandBarSearch.GetChildAt(2))).StretchVertically = true;
1489 1493
            // 
1490 1494
            // btnShowAllDetail
1491 1495
            // 
......
1494 1498
            // commandBarSeparator2
1495 1499
            // 
1496 1500
            this.commandBarSeparator2.Name = "commandBarSeparator2";
1501
            this.commandBarSeparator2.StretchHorizontally = false;
1497 1502
            this.commandBarSeparator2.VisibleInOverflowMenu = false;
1498 1503
            // 
1499 1504
            // lbSearch
......
1548 1553
            // 
1549 1554
            this.commandBarSeparator1.DisplayName = "commandBarSeparator1";
1550 1555
            this.commandBarSeparator1.Name = "commandBarSeparator1";
1556
            this.commandBarSeparator1.StretchHorizontally = false;
1551 1557
            this.commandBarSeparator1.VisibleInOverflowMenu = false;
1552 1558
            // 
1553 1559
            // btnMatchCase
......
1584 1590
            // 
1585 1591
            this.commandBarSeparator3.DisplayName = "commandBarSeparator3";
1586 1592
            this.commandBarSeparator3.Name = "commandBarSeparator3";
1593
            this.commandBarSeparator3.StretchHorizontally = false;
1587 1594
            this.commandBarSeparator3.VisibleInOverflowMenu = false;
1588 1595
            // 
1589 1596
            // lbSelectAndTotal
ID2.Manager/ID2.Manager/Main.cs
646 646

  
647 647
        private void InitializeSearch()
648 648
        {
649
            
649 650
            var font1 = ThemeResolutionService.GetCustomFont("TelerikWebUI");
650 651

  
651 652
            lbSearch.Text = "\ue13E";
......
720 721
                    {
721 722
                        radGridViewDocuments.Columns[item.Value.ToString()].AllowSearching = item.Checked;
722 723
                    }
724

  
725
                    foreach (var template in radGridViewDocuments.Templates)
726
                    {
727
                        if (template.Columns[item.Value.ToString()] != null)
728
                        {
729
                            template.Columns[item.Value.ToString()].AllowSearching = item.Checked;
730
                        }
731
                    }
723 732
                }
724 733
            };
725 734

  
......
735 744

  
736 745
            userColumn.MinWidth = 110;
737 746
            userColumn.AutoSizeMode = BestFitColumnMode.AllCells;
738
            userColumn.AllowSearching = false;
747
            userColumn.AllowSearching = true;
739 748
            textColumn.AutoSizeMode = BestFitColumnMode.AllCells;
740
            textColumn.AllowSearching = false;
749
            textColumn.AllowSearching = true;
741 750

  
742 751
            markupList.Columns.AddRange(userColumn, textColumn);
743 752
            markupList.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
......
765 774
                            row.Cells["TEXT"].Value = makrup.TEXT;
766 775
                            e.SourceCollection.Add(row);
767 776
                        }
768

  
777
                        
769 778
                        e.Template.BestFitColumns(BestFitColumnMode.AllCells);
770 779
                    }
771 780
                }
......
2386 2395
                radGridViewDocuments.MasterView.TableSearchRow.SelectNextSearchResult();
2387 2396
            }
2388 2397
        }
2398

  
2399
        private void commandBarSearch_ItemOverflowed(object sender, EventArgs e)
2400
        {
2401
            commandBarSearch.OverflowButton.AddRemoveButtonsMenuItem.Visibility = ElementVisibility.Collapsed;
2402
            commandBarSearch.OverflowButton.CustomizeButtonMenuItem.Visibility = ElementVisibility.Collapsed;
2403
        }
2404

  
2405
        private void commandBarSearch_ItemOutOfOverflow(object sender, EventArgs e)
2406
        {
2407
            commandBarSearch.OverflowButton.AddRemoveButtonsMenuItem.Visibility = ElementVisibility.Collapsed;
2408
            commandBarSearch.OverflowButton.CustomizeButtonMenuItem.Visibility = ElementVisibility.Collapsed;
2409
        }
2389 2410
    }
2390 2411
}
2391 2412

  

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)