Telerik Forums
Kendo UI for jQuery Forum
1 answer
322 views
Hi! I have an issue related with the splitter, in my project i have a splitter with 3 areas (horizontal) in my screen but at the first load when the screen width its too small, the min size that I want is ignored and the actual size that its rendered its less that i expect so the min size value that i set on the code only works when the splitter is resized, i don't know if there is a way to prevent this. 

function getPaneOptions(element) {
   return {
       collapsible: element.attributes['pane-collapsible'] ? true : false,
       size: element.getAttribute('pane-size') || '250px',
       min: element.getAttribute('pane-min-size') || '200px'
   };
}
Ivan Danchev
Telerik team
 answered on 24 Jul 2019
8 answers
295 views
Is there currently any way to do a range slider for angularJS? If not, will this be implemented in a future release? I like the angular slider, but it would be nice to have a range slider for angular.

Thanks.
Alex Hajigeorgieva
Telerik team
 answered on 24 Jul 2019
7 answers
391 views

Hi Team,

Am using kendo chunksave for folder upload, its working perfectly fine in local & server. 

We tried to move the same piece of code to another server . but its returning the response code 302

Its suppose to get called multiple times based on number of files. but for some reason in our new server , only the first call is happening & the rest of the process is aborted due to the response code 302. 
observations

1. response code

2. content type - in text/html , where its supposed to be application/json

shared both success & error logs,

Ianko
Telerik team
 answered on 24 Jul 2019
4 answers
16.7K+ views
I have a kendoGrid() set to editable: true.  It has two columns and I want one column to simply show the value, and the other column to be editable.  Is this possible?

The exact scenario: the left column shows a value, and the right column has a selectable DropDownList.

I'm able to include the DropDownList in the right column for each table cell, but the left hand column is still editable as a text box.  I'd like to disable that functionality if possible, so it's not editable at all.

Any ideas on how to achieve this?

Thanks
Louis
Top achievements
Rank 1
 answered on 23 Jul 2019
1 answer
2.0K+ views

Hello,

Is there a way to use a multiple column or composite key of a table within the schema model?

Something like this:

                    schema: {
                        model: {
                            id: "COMPONENT_CONFIG_ID", "PARENT_CONFIG_ID", "USE_DT",
                            fields: {

 

Thanks,

Steven

Tsvetomir
Telerik team
 answered on 23 Jul 2019
2 answers
325 views

Hi, 

in the workweekview when I have events with intervals outside of business hours it would be desirable that full day is shown by default. Is there is a way to trigger the show full day command from my side once i know there are events outside business hours?  

Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 23 Jul 2019
1 answer
98 views

Hi, 

 

As my title might suggest, im trying to add a new item to the dataSource without adding it to my grid. the reason being that the status of the new item might not match that of the current datasource.

eg: adding an INACTIVE record to a grid only displaying ACTIVE records.

Thanks in advance, 

Grant

Alex Hajigeorgieva
Telerik team
 answered on 23 Jul 2019
2 answers
466 views
Hi Guys,

Have just tripped over some display issues with multiple column headers when grouping is applied.

To demonstrate the problems please run the following dojo

        https://dojo.telerik.com/IgUxidOQ
        
and should see the grouped column header shows a border line as if it was are multi column header (see Header1.png).

Now if you lock the ContactName column the grouped column displays correctly but the CompanyName header column is missing a left hand border (see Header2.png).

Regards
Alan
    
AGB
Top achievements
Rank 1
Iron
 answered on 22 Jul 2019
3 answers
230 views

Is it possible to retrieve just the cell contents (not formatting, etc) for a specific worksheet?  

We're looking at a use case where we want to use a spreadsheet for loading a mongodb collection and don't care about all the formatting / metadata that seems to be there when you use ToJson.

Thanks!

Dimitar
Telerik team
 answered on 22 Jul 2019
3 answers
271 views

Hello

In the past I was using the fetch operation like this:

var gameObject = new kendo.data.DataSource({
  transport: {
    read: {
      url: "../php/readgamelist.php",
        type: "POST",
        dataType: "json",
        contentType: "application/json; charset=utf-8"
    }
  }
  ,success {}
  ,error {}
});
 
gameObject.fetch (...)

 

I've found out that with the success/error won't work anymore (maybe I'm wrong on success/error anyway and it never really worked properly). Of course in between I have installed newer KendoUI versions. Nevertheless I had to rewrite my code to make it working again:

console.log ('1');
         
var gameObject = new kendo.data.DataSource({
  transport: {
    read: {
      url: "../php/readgamelist.php",
      type: "POST",
      dataType: "json",
      contentType: "application/json; charset=utf-8"
    }
  }
});
 
console.log ('2');
 
gameObject.fetch()
  .then(function(){
    console.log ('3');
    console.log (gameObject.data());
  })
  .catch(function (error) {
    console.log ('4');
    console.log (error);
  });

 

This now works so far as it should. The problem comes up when I will not use the page (with this code) for hours. So there is a kind of server timeout. Calling then this function by page (GUI) will lead into this Browser output:

1
2
TypeError: e.slice is not a function. (In 'e.slice(0)', 'e.slice' is undefined)                 success kendo.all.js  7001

I have no clue why this error is coming up and how to fix that. My server (on which readgamelist.php is stored) can even handle a timeout and would return information about that (by return it to gameObject.data() but it doesn't seem to come to this since "3" is not in the error output. So therefore it won't come to read from the php file.

There is no example to catch an error in your fetch examples but I think I did it the correct way. I'm also confused that kendo.all.js returns from "success". I don't know the current version of Kendo UI I'm using (can't find any version hint in the files but it must be one of the latest one).

What else can I do to catch the real error?

Regards

 

Marin Bratanov
Telerik team
 answered on 22 Jul 2019
Narrow your results
Selected tags
Tags
+138 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?