전체 글(25)
-
[Devexpress] CustomColumnDisplayText Event
//주의 : GetRowCellValue가 아니라, GetListSourceRowCellValue 함수를 호출 if (e.ListSourceRowIndex
2020.02.17 -
[Devexpress] Dashboard Grid Maker
/* DashboardGridMaker*/ abstract class DashboardGridMaker /* Entity */ private readonly BandedGridView _gridView; protected abstract string GetDemandPartyFieldName(); protected abstract void CreateGridColumns(); protected abstract BandedGridColumn[] GetColumns(); protected abstract void CreateGridBands(); protected abstract GridBand[] GetTopBands(); /* 생성자 */ protected DashboardGridMaker(SBanded..
2020.02.17 -
[Devexpress] Add Button on Grid Control Column
-- GridView Option : OptionsView ShowButtonMode ShowAlways -- In-Place Editor Repository = Add Button Editor Add(name : open_File, name : open_NoFile) : AllowMouseWheel = false : AutoHeight : = false : Buttons : Glyph : TextEditorStyle : HideTextEditor // Grid _CustomRowCellEdit event에서 repository private void GvMainList_CustomRowCellEdit(object sender, DevExpress.XtraGrid.Views.Grid.CustomRowCe..
2020.02.07 -
[Devexpresss] Right Button Context Menu On BandedGrid
BendedGrid -- PopUpMenu Add -- PopUpMenu Customize Click -- PopUp Menu Editor Item Add, name setting(ex, btnOpneFile) -- PopUp Menu Editor Item Visible = Never /* grid_MouseDown Event */ GridView view = sender as GridView; if (view == null) return; BandedGridHitInfo hitInfoBand = gridView.CalcHitInfo(e.Location); if (hitInfoBand != null && hitInfoBand.HitTest == BandedGridHitTest.Band) { if (e.B..
2020.02.07 -
[Devexpress] Make Head button for Expend/Collapse for Navbar Control with ITemplate
@ASPX Page @ASPX Cs Page Load : ASPxNavBar1.GroupHeaderTemplate = new MyGroupHeaderTemplate("my button"); ASPxNavBar1.ClientSideEvents.HeaderClick = "function(s,e){e.cancel=true;}"; @Class public class MyGroupHeaderTemplate : ITemplate { string caption; public MyGroupHeaderTemplate(string caption) { this.caption = caption; } #region ITemplate Members public void InstantiateIn(Control container)..
2020.01.29 -
[MS SQL] Use new TRY_PARSE() instead of ISNUMERIC()
SELECT TRY_PARSE('123' as int) as '123' ,TRY_PARSE('123.0' as float) as '123.0' ,TRY_PARSE('123.1' as decimal(4,1)) as '123.1' ,TRY_PARSE('$123.55' as money) as '$123.55' ,TRY_PARSE('2013/09/20' as datetime) as '2013/09/20' 참조 : https://blogs.msdn.microsoft.com/manub22/2013/12/23/use-new-try_parse-instead-of-isnumeric-sql-server-2012/ Use new TRY_PARSE() instead of ISNUMERIC() Use new TRY_PARSE(..
2020.01.27