@@ -86,14 +86,14 @@ class SchedulerAgenda extends WorkSpace {
8686 break ;
8787 case 'groups' :
8888 if ( ! value ?. length ) {
89- if ( this . _ $groupTable) {
90- this . _ $groupTable. remove ( ) ;
91- this . _ $groupTable = null ;
89+ if ( this . $groupTable ) {
90+ this . $groupTable . remove ( ) ;
91+ this . $groupTable = null ;
9292 this . detachGroupCountClass ( ) ;
9393 }
94- } else if ( ! this . _ $groupTable) {
94+ } else if ( ! this . $groupTable ) {
9595 this . initGroupTable ( ) ;
96- this . _dateTableScrollable . $content ( ) . prepend ( this . _ $groupTable) ;
96+ this . $dateTableScrollable . $content ( ) . prepend ( this . $groupTable ) ;
9797 }
9898 super . _optionChanged ( args ) ;
9999 break ;
@@ -124,7 +124,7 @@ class SchedulerAgenda extends WorkSpace {
124124 return this . option ( 'agendaDuration' ) as number ;
125125 }
126126
127- _getCellCount ( ) {
127+ getCellCount ( ) {
128128 return 1 ;
129129 }
130130
@@ -139,15 +139,15 @@ class SchedulerAgenda extends WorkSpace {
139139 protected override initWorkSpaceUnits ( ) {
140140 this . initGroupTable ( ) ;
141141 this . $timePanel = $ ( '<table>' ) . attr ( 'aria-hidden' , true ) . addClass ( TIME_PANEL_CLASS ) ;
142- this . _ $dateTable = $ ( '<table>' ) . attr ( 'aria-hidden' , true ) . addClass ( DATE_TABLE_CLASS ) ;
143- this . _ $dateTableScrollableContent = $ ( '<div>' ) . addClass ( 'dx-scheduler-date-table-scrollable-content' ) ;
142+ this . $dateTable = $ ( '<table>' ) . attr ( 'aria-hidden' , true ) . addClass ( DATE_TABLE_CLASS ) ;
143+ this . $dateTableScrollableContent = $ ( '<div>' ) . addClass ( 'dx-scheduler-date-table-scrollable-content' ) ;
144144 this . $dateTableContainer = $ ( '<div>' ) . addClass ( 'dx-scheduler-date-table-container' ) ;
145145 }
146146
147147 private initGroupTable ( ) {
148148 const groups = this . option ( 'groups' ) ;
149149 if ( groups ?. length ) {
150- this . _ $groupTable = $ ( '<table>' ) . attr ( 'aria-hidden' , true ) . addClass ( GROUP_TABLE_CLASS ) ;
150+ this . $groupTable = $ ( '<table>' ) . attr ( 'aria-hidden' , true ) . addClass ( GROUP_TABLE_CLASS ) ;
151151 }
152152 }
153153
@@ -169,22 +169,22 @@ class SchedulerAgenda extends WorkSpace {
169169 }
170170 this . rows = rows ;
171171
172- if ( this . _ $groupTable) {
172+ if ( this . $groupTable ) {
173173 cellTemplates = this . renderGroupHeader ( ) ;
174174 this . setGroupHeaderCellsHeight ( ) ;
175175 }
176176
177177 this . renderTimePanel ( ) ;
178178 this . renderDateTable ( ) ;
179179 this . applyCellTemplates ( cellTemplates ) ;
180- this . _dateTableScrollable . update ( ) ;
180+ this . $dateTableScrollable . update ( ) ;
181181 }
182182
183183 private renderNoData ( ) {
184184 this . $noDataContainer = $ ( '<div>' ) . addClass ( NODATA_CONTAINER_CLASS )
185185 . html ( this . option ( 'noDataText' ) as any ) ;
186186
187- this . _dateTableScrollable . $content ( ) . append ( this . $noDataContainer ) ;
187+ this . $dateTableScrollable . $content ( ) . append ( this . $noDataContainer ) ;
188188 }
189189
190190 protected override setTableSizes ( ) { return noop ( ) ; }
@@ -246,7 +246,7 @@ class SchedulerAgenda extends WorkSpace {
246246 }
247247
248248 protected override getGroupHeaderContainer ( ) {
249- return this . _ $groupTable;
249+ return this . $groupTable ;
250250 }
251251
252252 protected override makeGroupRows ( ) {
@@ -306,11 +306,11 @@ class SchedulerAgenda extends WorkSpace {
306306 }
307307
308308 protected override cleanView ( ) {
309- this . _ $dateTable. empty ( ) ;
309+ this . $dateTable . empty ( ) ;
310310 this . $timePanel . empty ( ) ;
311311
312- if ( this . _ $groupTable) {
313- this . _ $groupTable. empty ( ) ;
312+ if ( this . $groupTable ) {
313+ this . $groupTable . empty ( ) ;
314314 }
315315
316316 if ( this . $noDataContainer ) {
@@ -326,20 +326,20 @@ class SchedulerAgenda extends WorkSpace {
326326 }
327327
328328 protected override createWorkSpaceStaticElements ( ) {
329- this . $dateTableContainer . append ( this . _ $dateTable) ;
330- this . _dateTableScrollable . $content ( ) . append ( this . _ $dateTableScrollableContent) ;
329+ this . $dateTableContainer . append ( this . $dateTable ) ;
330+ this . $dateTableScrollable . $content ( ) . append ( this . $dateTableScrollableContent ) ;
331331
332- if ( this . _ $groupTable) {
333- this . _ $dateTableScrollableContent. prepend ( this . _ $groupTable) ;
332+ if ( this . $groupTable ) {
333+ this . $dateTableScrollableContent . prepend ( this . $groupTable ) ;
334334 }
335335
336- this . _ $dateTableScrollableContent. append ( this . $timePanel , this . $dateTableContainer ) ;
337- this . $element ( ) . append ( this . _dateTableScrollable . $element ( ) ) ;
336+ this . $dateTableScrollableContent . append ( this . $timePanel , this . $dateTableContainer ) ;
337+ this . $element ( ) . append ( this . $dateTableScrollable . $element ( ) ) ;
338338 }
339339
340340 protected override renderDateTable ( ) {
341341 this . renderTableBody ( {
342- container : getPublicElement ( this . _ $dateTable) ,
342+ container : getPublicElement ( this . $dateTable ) ,
343343 rowClass : DATE_TABLE_ROW_CLASS ,
344344 cellClass : this . getDateTableCellClass ( ) ,
345345 } ) ;
0 commit comments