Hi folks,
The spreadsheet option defaultCellStyle, http://docs.telerik.com/kendo-ui/api/javascript/ui/spreadsheet#configuration-defaultCellStyle
It doesn't work at all. See demo: http://dojo.telerik.com/UYuqOy/3
Best,
Anna
I am working on a basic chart example and any accented character (e.g. é) appears fine in the dojo split screen, but are messed up in full screen.
A most basic example is here http://dojo.telerik.com/OsEwA
Run and then view the full screen version (https://runner.telerik.io/fullscreen/OsEwA)
Could you please advise if a workaround exists?
Thanks
Is it possible to call a Javascript with parameters when the user presses a button in the toolbar?
I can use the .Click() and the javascript is called but I can't figure out how to pass the parameters?
I als tried.....
.Items(items =>
{
items.Add().Type(CommandType.Button).Text(Model.ToolbarSettings.NewButton.Text).Icon("plus")
.Hidden(!Model.ToolbarSettings.NewButton.IsVisible).Enable(Model.ToolbarSettings.NewButton.IsEnabled)
.HtmlAttributes(new { type ="button", Id = "aa" })
.Click("onClick")
But how can I read the Id value in the javascript?
I want pass two parameters to the script (action/controller)......
How can I add a set filter to on grid? it is available in jQuery version.
All our Combo Boxes are defined similar to this:
@(Html.Kendo().ComboBoxFor(model => model.PortOfLoadingId)
.Filter(FilterType.Contains)
.Suggest(true)
.Placeholder("Select port...")
.DataTextField("Text")
.DataValueField("Id")
.DataSource(s =>
{
s.Ajax().Read(r =>
{
r.Action("GetComboBoxItems", "Ports");
});
})
.Events(e => e.Select("portSelected"))
)
Hello, am trying to achieve 2 level drop In below code if i change group: [{field: "FareOwner"}], to group: [{field: "FareOwner"},{field: "Description"}],
I get error before template screen renders and item text in dropdownList is shown as undefined . Only FareOwner ('Agent' or 'Customer' is shown).
My datasource code:
PricingTemplateSource:
new
kendo.data.DataSource({
transport: {
read: {
url: rootUrl(
"Fare/GetPricingTemplatestest"
),
dataType:
"json"
,
data:
function
(e) {
debugger;
return
{
optionFilters: JSON.stringify(AirPricingWoPNRViewModel.Item.AirPricingVM.OptionFilters),
validatingCarrier: JSON.stringify(AirPricingWoPNRViewModel.Item.AirPricingVM.ValidatingCarrier)
};
}
}
},
group: [{field:
"FareOwner"
}],
serverFiltering:
true
}),
template :
<script id=
"FareItemTemplate"
type=
"text/x-kendo-template"
>
#debugger #
<div class=
"k-state-default"
>
<div class=
"bluecolor"
>
#: data.Name # </div>
#if(data.Remark!= null){#
<div style=
"font-size:11px;"
>
#: data.Remark # </div>
#}#
</div>
<input data-role=
"dropdownlist"
class=
"fare-template"
data-text-field=
"Name"
data-template=
"FareItemTemplate"
data-value-field=
"Id"
required=
"required"
data-value-primitive=
"true"
data-bind="value: FareTemplateID,
source: PricingTemplateSource " />
Source Data :
[{
"Id"
:10446,
"Name"
:
"FXP/R,VC-SQ"
,
"Remark"
:
null
,
"FareOwner"
:
"Agent"
,
"Description"
:
"Published"
},{
"Id"
:10447,
"Name"
:
"FXP/R,VC-SQ"
,
"Remark"
:
"Full IATA Publish Fare"
,
"FareOwner"
:
"Agent"
,
"Description"
:
"Published"
},{
"Id"
:10481,
"Name"
:
"Default FXP"
,
"Remark"
:
null
,
"FareOwner"
:
"Agent"
,
"Description"
:
"Published"
},{
"Id"
:10530,
"Name"
:
"FXP/RSEA,U,VC-SQ"
,
"Remark"
:
null
,
"FareOwner"
:
"Agent"
,
"Description"
:
"Marine"
},{
"Id"
:10531,
"Name"
:
"FXP/RSEA,U,VC-SQ"
,
"Remark"
:
null
,
"FareOwner"
:
"Agent"
,
"Description"
:
"Offshore"
},{
"Id"
:10547,
"Name"
:
"FXP/R,VC-SQ"
,
"Remark"
:
"Test"
,
"FareOwner"
:
"Agent"
,
"Description"
:
"Published"
},{
"Id"
:10548,
"Name"
:
"Test Customer"
,
"Remark"
:
"Test"
,
"FareOwner"
:
"Customer"
,
"Description"
:
"Published"
},{
"Id"
:10559,
"Name"
:
"FXP/RSEA,U"
,
"Remark"
:
null
,
"FareOwner"
:
"Agent"
,
"Description"
:
"Marine"
}]
Hi
I am trying to change the confirm message text of delete/ remove sheet from a spreadsheet but the message appear before removeSheet event so i can not find an access point to that message from any of the spreadsheet events.
Thanks
Nadav
We've implemented a HTML Editor and would like to be able to incorporate a Watermark image behind. There is no tool at present to allow placing of a Watermark. How would this be best implemented?
Hi,
I have an issue when create an area trend chart with multiple value axis.
Sample: http://dojo.telerik.com/Aminin/10
In the first chart, it has 2 value axis, and the "World" series show wrong area.
In the second chart, it has only 1 value axis, and the only series "World" show correct area.
Please let me know if I missed anything or if it's a bug.
Thanks
Kai