Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Adrian Engel on Jul 17, 2008 03:46
open dhtmlx forum
Paginal Output + Grouping, Calendar

Hi

reg. number 196488835
v.1.6 build 80512

Bug in grid:
I found a problem/bug with paginal output and grouping function.
paging forward works fine but when a move backward in the pages the grid looses its grouping.
after setting a filter the grid is grouped again.

Calendar:
can i set the default starting day for my dhxCalendar in the grid to monday?
i have emty cells in my grid when i open a dhxCalendar cell - and hit escape button (to close the calendar)
the calendar sets the cell value on todays date but i need the cell to stay emty

br adrian
Answer posted by Support on Jul 17, 2008 06:19
>>I found a problem/bug with paginal output and grouping function.
The paging and grouping are mutual exclusive modes
    http://dhtmlx.com/docs/products/dhtmlxGrid/doc/compatibility.html#grid_fcompatibility
Answer posted by adrian engel on Jul 17, 2008 06:30
ah ok thank you

can u help me with the calender too?

Calendar:
can i set the default starting day for my dhxCalendar in the grid to monday?
i have emty cells in my grid when i open a dhxCalendar cell - and hit escape button (to close the calendar)
the calendar sets the cell value on todays date but i need the cell to stay emty

thx
Answer posted by Support on Jul 17, 2008 06:31
>>can i set the default starting day for my dhxCalendar in the grid to monday?
you can modify dhtmlxgrid_excell_calendar.js in next way
    this.grid._grid_calendarA=new dhtmlxCalendarObject(z,false, {isYearEditable :true} );
change to
    this.grid._grid_calendarA=new dhtmlxCalendarObject(z,false, {isYearEditable :true, weekstart:1} );

>>the calendar sets the cell value on todays date but i need the cell to stay emty
Please try to use attached js file instead of original one - it will resolve issue.

Attachments (1)
Answer posted by adrian engel on Jul 17, 2008 06:51
thanks works fine

also any idea about my problem with the escape key

br adrian
Answer posted by Support on Jul 17, 2008 08:35
Actually with attached js file it must work correctly ( at least it started to work correctly in local sample )
Are you using default keymap or excel\access-like one?
Please try to add next line to your grid init
    grid._key_events.k27_0_0=function(){
            this.editStop(true);
    }