Telerik Forums
Kendo UI for jQuery Forum
4 answers
313 views

Is there a way to add commands to the SpreadSheet toolbar?

I am especially thinking about the enable/disable range button.

In a template/document scenario, one would want:

- to build templates where some cell ranges have to be disabled;

- to make documents based on such templates where disabled ranges (possibly including formulas) cannot be changed.

In case this is an oversight (enable/disable seems to be the only range property that cannot be set via the toolbar), please log a defect for a fix in a future version.

 

Emanuele
Top achievements
Rank 1
 answered on 29 Aug 2018
1 answer
255 views

Hello,

I have problems getting draggable to work in IE 11.

Example here:

https://dojo.telerik.com/OVeseMiQ/6

It is working in the latest version of Firefox and Chrome and also Edge.

Not sure if it's a kendo issue or maybe a JQuery problem.

Can you help ?

 

Ivan Danchev
Telerik team
 answered on 29 Aug 2018
5 answers
1.0K+ views

I have a remote binding grid that is used to access several different external tables. I have a button that can apply a users saved options for the grid using the setOptions method. The issue I'm having is trying to get the grid to apply the users options when the data is loaded; ie the user clicks to a different table and the grid auto applies the options. My first attempt was using the dataBound event to call my setOptions method to apply the configuration, however this does not fire and is actually listed as not being possible in the documentation here: https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/methods/setoptions 

 

How can I get around this to have the setOptions method be called on a grid loading? 

 

Thanks.

Preslav
Telerik team
 answered on 28 Aug 2018
3 answers
2.0K+ views

 Hi,

  I have tried looking through documentation and searching online, but have not found an answer to this.

  Taking the example at:  https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.selectable

  How could I change the code to satisfy these two requests:

    1.  Show a title in the header "Select Rows"

    2.  If the name is "John Doe", the row should not be selectable, and instead of the checkbox, I would like to see the name "John Doe".

 

Thanks.

 

 

Georgi
Telerik team
 answered on 28 Aug 2018
1 answer
158 views

Hello,

 

I get data from ajax call,i have two fields which are Boolean   and want to apply the filter on these two fields:

 

  $.ajax({
          dataType: "json",
          type: "POST",
          url: "@Url.Action("fnction", "Dashbrd")",
          contentType: "application/json; charset=utf-8",
          data: JSON.stringify({ "regionalManager": dtDrpVals.drpValue, "dtFrom": dtDrpVals.fromDate}),
          success: function (result) {
          var dataSource = new kendo.data.DataSource({
          data:result,      
          filter:[{
         "logic": "and",
         "filters": [{
         "field": "m_grid",
         "operator": "eq",
         "value": false},
         {"field": "crew_present",
          "operator": "eq",
          "value": false}]},]      
      });

 

the result has 40 records,if the filter i set works,must give me 10 records

Neli
Telerik team
 answered on 28 Aug 2018
1 answer
448 views
i want post form and grid data ,
i have sample like this
https://dojo.telerik.com/OZUsIzIw/4

i want try post to my url with format json
http://10.0.8.212:81/api/ArPumPd/create

how to do that? thank you.
Viktor Tachev
Telerik team
 answered on 28 Aug 2018
3 answers
574 views

Hi guys, I've a case where I'm grouping with the grid, but want to sort in a different order.

E.g. by default if my group data field has values A, B, C, D this would be the group order.

I have data that is sorted by sections of data, that have an order the client wants displayed in a priority order.

To simplify it something like:

Display Field Value    Sort Field Value

A                                2

B                                4

C                                1

D                                3

I want the grouping text to be A, B, C, D, but the order to be C, A, D, B as per the sort field value (a field not to be visible).

I haven't been able to find anyway to do this. Any help greatly appreciated.

Konstantin Dikov
Telerik team
 answered on 28 Aug 2018
1 answer
102 views
Attached is the snippet for the Kendo UI grid. The full text (e.g. Column 1) is displayed in the header for all browsers except in the Safari browser. The Safari browser show ellipsis in the header title (Col...) that is causing issue for our customer. The customer does not know that they can expand the column in the grid. How can I show full text in the column header in Safari browser like it show in the Chrome etc? 
Konstantin Dikov
Telerik team
 answered on 28 Aug 2018
1 answer
72 views

Hi

in a kendo grid column I'm trying to render column sparklines from this markup:

<span class="compliance-dev" data-source="-1,-1,-1,1,1,-1,-1,-1"></span>

in grid.dataBound I do this:

var $spans = $(".compliance-dev", "#grid");

            $.each($spans, function() {
                var $span = $(this);
                var ds = $span.data("source").split(',');
                $span.kendoSparkline({
                    data: ds,
                    //series: [{
                    //    type: "column",
                    //    color: "#ff0000",
                    //    negativeColor: "#0099ff"
                    //}]
                });
            });

This renders into a sparkline of type line: https://dojo.telerik.com/UsUluTaK

How do I render the sparkline as a column graph?

/Morten

Daniel
Telerik team
 answered on 28 Aug 2018
2 answers
68 views

I am use in popup window TreeList, and bind treeList to array. Simple example http://dojo.telerik.com/OjipACUQ

Update button in popup window save record and array as one record.

Some problems i fix.

Add new record then edit and press cancel, record will be removed, but record is not dirty and not isNew()

How can i fix it?

In my application editing and adding works, in the example does not work. i don't know why.

Konstantin
Top achievements
Rank 1
 answered on 27 Aug 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?