Hi,
We are using the scheduler control with two resources.
resources: [
{
field: "company"'
name: "Company",
dataSource: [
{ text: "Company 1", value: 1, color: "#6eb3fa" },
{ text: "Company 2", value: 2, color: "#f58a8a" }
],
title: "Company"
},
{
field:
"employee",
name: "Employee",
dataSource: [
{ text: "Alex", value: 1, color: "#f8a398" },
{ text: "Bob", value: 2, color: "#51a0ed" },
{ text: "Charlie", value: 3, color: "#56ca85" }
],
title: "Employee"
}
]
And we use the two resources to group the scheduler.
group: {
resources: "Company", "Employee"],
orientation: "vertical"
}
But in our scenario we do not have employees who work for
more than one company. There is an one-one mapping between the
employee-company.
So I would like to if there is a possibility to
hide/not-display or disable the group catergories created without data.
Example:
Company
Employees
1
Alex, Bob
2
Charlie, Daphne
So I would like to hide the groups 1-Charlie, 1-Daphne and
2-Alex, 2-Bob in the scheduler as there 4 section will always be empty.
Hello,
The PDF generated by kendo chart seems to have a problem dealing with accents. I attached an image showing 3 export made from the same chart. Please note that Montréal is displayed correctly in the PNG and the SVG but not in the PDF.
This issue is not only the the categories, it also occurs in the title and legend.
Can you confirm if this is a bug and if it could get fixed?
Best regards,
Simon
When creating an "All Day" event that spans multiple days it changes to the wrong number of days when landing on a daylight savings time change date.
1. See https://dojo.telerik.com/UletiPaC
2. Create an all day event that spans three days.
3. Drag that event to start on Nov 2nd or Nov 3rd (2013 calendar from demo)
4. See the span changeto span just two days.
5. Move it back see it go back to three days.
Is there a setting I am missing to avoid this behavior? It is quite confusing to the end user.
Thanks.
Hi,
I have some nasty performance issues when paging through grid control, since we have lot of registers (300k or more), we are using the server-side aproach, but for some reason the last page takes forever but if you go to page 2,3,4 etc. is fast, its seems when you are close to last pages the time increases why? it not should be the same or similar amount time going to page 4 or last page?
So when we bring a lot of registers, go to second page can take a second or seconds and the last page takes sometimes minutes! I see a big load in the database server when click on last pages. I tested this on version 2014 and 2016.
Is there some parameter or configuration to improve this or is it a kind of bug? or why this could happen?
Thank you.
Hello,
I have 2 autocomplete and 2 dropdowns in kendo MVVM layout.
the ViewModel is inside a function making it non-global.
function
GetPricingPCCSourceDS(optionfilters) {
return
new
kendo.data.DataSource({
transport: {
read: {
type:
"POST"
,
url: rootUrl(
"GetData/GetPricingPCC"
),
dataType:
"json"
,
data: { OptionFilters: optionfilters ==
null
?
null
: optionfilters.toJSON() }
}
},
serverFiltering:
true
});
}
function
GetValidatingCarrierDS(e) {
return
new
kendo.data.DataSource({
transport: {
read: {
url: rootUrl(
"GetData/GetAirLines"
),
dataType:
"json"
}
},
serverFiltering:
true
});
}
function
GetSupplierSourceDS(bookingPccId) {
return
new
kendo.data.DataSource({
transport: {
read: {
url: rootUrl(
"GetData/GetSuppliersForPricing"
),
dataType:
"json"
,
data: { officeId: bookingPccId }
}
},
serverFiltering:
true
});
}
function
TaskSuccess(){
var
ViewModel = kendo.observable({
PricingTemplateSource:
function
() {
return
new
kendo.data.DataSource({
transport: {
read: {
url: rootUrl(
"Fare/GetPricingTemplatestest"
),
dataType:
"json"
,
data:
function
(e) {
return
{
optionFilters: JSON.stringify(ImportPNRPricingViewModel.OptionFilters),
validatingCarrier: JSON.stringify(ImportPNRPricingViewModel.OptionFilters
.ValidatingCarrier)
};
}
}
},
group: [{ field:
"FareOwner"
}],
serverFiltering:
true
});
},
PricingPccSource:
function
(e) {
var
optionfilters =
this
.OptionFilters;
return
GetPricingPCCSourceDS(optionfilters);
},
FareOptionsSupplierSource:
function
(e) {
var
bookingPccId =
this
.OptionFilters.BookingPccInformation.get(
'PccId'
);
return
GetSupplierSourceDS(bookingPccId);
},
ValidatingCarrierSource:
function
(e) {
return
GetValidatingCarrierDS(e);
}
});
}
Some of DataSource requires input values to be passed. The UI works but thing is When i change autocomplete value or any DropDownList selection , the 2 DropDownList DataSource fires Read ajax calls again .
I could have made the Dojo sample but i didnt found any url that could have data as parameter in datasource
Hi, my requirement is quite simple, I just wanted to show the toggle buttons (day, week and month) of the scheduler (highlighted in red box - refer to attached image file). I don't want to show the timeline of the scheduler as well the current date (refer to attached image file - highlighted in green box) when the scheduler initially renders in the page. Is this doable?
Also, when the user clicks or selects one of the toggle buttons (day, week or month); an event pop up dialog form will show to enable a user to set the desired schedule. After that, user clicks save button, and data will be persisted back into the database.
Any inputs is highly appreciated and, if it's doable, could you please give some configuration examples of the scheduler related to the above mentioned items.
Thanks a lot.
Hello,
I want to have MVVM DatePicker with Min Date.
I tried 2 methods:
1) Using Open event :
<
input
data-role
=
"datetimepicker"
data-format
=
"dd-MMM-yyyy hh:mm:ss tt"
required
validationMessage
=
"!"
name
=
"DepartureDate"
class
=
"DepartureDate"
data-parse-formats
=
"['dd-MMM-yyy','dd-MMM-yy','dd.MM.yyyy','dd.MMM.YYYY','dd.mm.yy','dd.MMM.yy','ddMMyyyy','ddMMyy','ddMM','ddMMM','dd-MM-yyyy hh:mm:ss' ]"
data-bind
=
"value: DepartureDateTime, events:{open: OnOpenAirRequestDatePicker}"
data-min
=
"#: new Date() #"
/>
<
span
data-for
=
'DepartureDate'
class
=
'validation'
></
span
>
This works when someone opens date icon to select date. If user directly write old date it takes as input until OPEN event is not triggered.
2) Using data-min attribute:
<
input
data-role
=
"datetimepicker"
data-format
=
"dd-MMM-yyyy hh:mm:ss tt"
data-min
=
"#: new Date() #"
required
validationMessage
=
"!"
name
=
"DepartureDate"
class
=
"DepartureDate"
data-parse-formats
=
"['dd-MMM-yyy','dd-MMM-yy','dd.MM.yyyy','dd.MMM.YYYY','dd.mm.yy','dd.MMM.yy','ddMMyyyy','ddMMyy','ddMM','ddMMM','dd-MM-yyyy hh:mm:ss' ]"
data-bind
=
"value: ArriveDepartDetails.DepartureDateTime, events:{open: OnOpenAirRequestDatePicker}"
data-min
=
"#: new Date() #"
/>
<
span
data-for
=
'DepartureDate'
class
=
'validation'
></
span
>
this works and value binds if value is future date , in case of old date then today , value doesnt bind.
I want to restrict user also from entering old dates directly without selecting