Show cool things you have done with our products


Post by binon »

Thanks for your email Mats.

I have downloaded from your main area. I dont have access to customer Zone as we havent bought the licence yet. Is there any work around.

Thanks
Binon

Post by mats »

Sure, run this in the console after opening the 2nd tab in that demo
Ext.ComponentQuery.query('schedulerpanel[rendered=true]')[1].lockedGrid.headerCt.insert(0, {
            text      : 'Day',
            width     : 80,
            locked    : true,
            dataIndex : 'Id',
            align     : 'right',
            tdCls     : 'sch-vertical-daycell',
            renderer  : function (value, metaData, record, rowIndex, colIndex, store) {
                var currentIndex = store.indexOf(record);
                var nextRecord   = store.getAt(--currentIndex);

                if (!nextRecord || nextRecord.getStartDate().getDate() !== record.getStartDate().getDate()) {
                    return Ext.Date.format(record.getStartDate(), 'D');
                } else {
                    metaData.tdCls += ' sch-spanned-row';
                }
            }
        })

Post by kesikp »

I downloaded version 4.1.2 and for example vertical-orientation i can't see data example from load.json file. Why?
Attachments
screen.jpg
screen.jpg (23.59 KiB) Viewed 9763 times

Post by mats »

Probably you changed something? See if there is any error in the console? Same demo works fine:

https://www.bryntum.com/examples/schedul ... tical.html

Post by kesikp »

Ok. I not checked to another browser. In Firefox work great in Chrome v. 49.0.2623.110 m not.

Post by mats »

Do you see any error on our online example? Any error in the console?

Post by kesikp »

PrtScn
Attachments
screen.jpg
screen.jpg (92.82 KiB) Viewed 9761 times

Post by kesikp »

I have question about view "Day + hour time axes". Does not display the date, only hours. What must change to display date?
Attachments
screen.jpg
screen.jpg (70.06 KiB) Viewed 9756 times

Post by mats »

This is fixed in the nightly builds (not yet released) - it's a bug in the current sample. Please read previous posts in this thread.

Post by Maxim Gorkovsky »

Exceptions during rendering procedure are caught and ignored, so try to debug caught exceptions.

Post Reply