Telerik Forums
Kendo UI for jQuery Forum
1 answer
117 views

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

Ivan Danchev
Telerik team
 answered on 04 Sep 2017
1 answer
167 views

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

Stefan
Telerik team
 answered on 04 Sep 2017
1 answer
947 views

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)......

 

Stefan
Telerik team
 answered on 04 Sep 2017
1 answer
169 views

How can I add a set filter to on grid? it is available in jQuery version.

 

Dimiter Topalov
Telerik team
 answered on 01 Sep 2017
3 answers
270 views
I'm trying to use locked columns while using angular directives in the column templates. The problem is that the cells don't get rendered until after the grid is rendered. So if a cell text wraps, kendo is not adjusting the height, because the grid is already databound by the time that angular compiles and renders the cell contents. The grid does fix itself after manually re-sizing any column, or add/removing a column. Is there any way I can trigger kendo to do a recalculation of the column sizes? Or any other way to fix this? Please see the following example. Thanks!

http://dojo.telerik.com/ACIBI/2
Pavlina
Telerik team
 answered on 01 Sep 2017
2 answers
221 views

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"))
)
    
Ianko
Telerik team
 answered on 01 Sep 2017
1 answer
226 views

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"}]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Dimitar
Telerik team
 answered on 01 Sep 2017
3 answers
158 views

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

Veselin Tsvetanov
Telerik team
 answered on 01 Sep 2017
3 answers
668 views

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?

Dimitar
Telerik team
 answered on 01 Sep 2017
13 answers
356 views

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

 

Milena
Telerik team
 answered on 31 Aug 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?