Telerik Forums
Kendo UI for jQuery Forum
2 answers
268 views

Hi, I would like to request a sample example from you to know how in cell editing will work for a grid that uses column templates.

Attached is a snapshot of how my grid looks and i could not find a way to apply in cell editing for these columns. Please help.Thanks

Stefan
Telerik team
 answered on 12 Oct 2017
4 answers
719 views
Hi guys, I'm trying change the mask property in a component MaskedTextBox in runtime, can I do it? If yes, how?

Thank's
Tayger
Top achievements
Rank 1
Iron
 answered on 12 Oct 2017
5 answers
268 views
in my kendo have applied   get effect . if add   attribute, get margin-top applied

<input data-role="numerictextbox"
                   data-format="c"
                   data-min="0"
                   data-max="100"
                   data-bind="visible: isVisible,
                              enabled: isEnabled,
                              value: selectedNumber,
                              events: { change: onChange }"
                   style="width: 180px,margin-top:90px;">
Preslav
Telerik team
 answered on 12 Oct 2017
2 answers
270 views
Hi, I'm implementing a Gantt Chart on .NET using data from my own database. I have defined the JSON array's attributes just as in a demo on your website. The chart is plotted, but the hierarchy in which I have organized my data such as the parent-child relationships are off, i.e. the hierarchy does not work in the way the relationships are defined in the JSON data. My hierarchy is much simpler than the demo on your documentation. My JSON is as follows. As you may expect, it's a bit too long. I have also attached a screenshot of the Gantt and when you compare it with the JSON, you'd see that the hierarchy is off. Can you figure out what I've done wrong ?
[
  {
    "ID": 23,
    "orderNo": "200023",
    "opnNo": null,
    "parentID": null,
    "startDate": "/Date(987013800000)/",
    "finDate": "/Date(987013800000)/",
    "title": "Order 1",
    "percentComplete": 0.43,
    "summary": true,
    "expanded": true
  },
  {
    "ID": 27,
    "orderNo": "200027",
    "opnNo": null,
    "parentID": null,
    "startDate": "/Date(980447400000)/",
    "finDate": "/Date(980447400000)/",
    "title": "Order 2",
    "percentComplete": 0.67,
    "summary": true,
    "expanded": true
  },
  {
    "ID": 25,
    "orderNo": "200025",
    "opnNo": null,
    "parentID": null,
    "startDate": "/Date(978373800000)/",
    "finDate": "/Date(978373800000)/",
    "title": "Order 3",
    "percentComplete": 0.56,
    "summary": true,
    "expanded": true
  },
  {
    "ID": 33,
    "orderNo": "200033",
    "opnNo": null,
    "parentID": null,
    "startDate": "/Date(-62135596800000)/",
    "finDate": "/Date(-62135596800000)/",
    "title": "Order 4",
    "percentComplete": 0.89,
    "summary": true,
    "expanded": true
  },
  {
    "ID": 100,
    "orderNo": "200023",
    "opnNo": 10,
    "parentID": 23,
    "startDate": "/Date(978083400000)/",
    "finDate": "/Date(978085800000)/",
    "title": "Filling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 101,
    "orderNo": "200023",
    "opnNo": 20,
    "parentID": 23,
    "startDate": "/Date(978083400000)/",
    "finDate": "/Date(978085800000)/",
    "title": "Labeling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 102,
    "orderNo": "200023",
    "opnNo": 30,
    "parentID": 23,
    "startDate": "/Date(978085800000)/",
    "finDate": "/Date(978089400000)/",
    "title": "Cleaning mixer",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 103,
    "orderNo": "200023",
    "opnNo": 40,
    "parentID": 23,
    "startDate": "/Date(978085800000)/",
    "finDate": "/Date(978089400000)/",
    "title": "Cleaning filling line",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 104,
    "orderNo": "200025",
    "opnNo": 10,
    "parentID": 25,
    "startDate": "/Date(978428880000)/",
    "finDate": "/Date(978431400000)/",
    "title": "Filling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 105,
    "orderNo": "200025",
    "opnNo": 20,
    "parentID": 25,
    "startDate": "/Date(978428880000)/",
    "finDate": "/Date(978431400000)/",
    "title": "Labeling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 106,
    "orderNo": "200025",
    "opnNo": 30,
    "parentID": 25,
    "startDate": "/Date(978431400000)/",
    "finDate": "/Date(978435000000)/",
    "title": "Cleaning mixer",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 107,
    "orderNo": "200025",
    "opnNo": 40,
    "parentID": 25,
    "startDate": "/Date(978431400000)/",
    "finDate": "/Date(978435000000)/",
    "title": "Cleaning filling line",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 108,
    "orderNo": "200027",
    "opnNo": 10,
    "parentID": 27,
    "startDate": "/Date(980502360000)/",
    "finDate": "/Date(980505000000)/",
    "title": "Filling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 109,
    "orderNo": "200027",
    "opnNo": 20,
    "parentID": 27,
    "startDate": "/Date(980502360000)/",
    "finDate": "/Date(980505000000)/",
    "title": "Labeling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 110,
    "orderNo": "200027",
    "opnNo": 30,
    "parentID": 27,
    "startDate": "/Date(980505000000)/",
    "finDate": "/Date(980508600000)/",
    "title": "Cleaning mixer",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 111,
    "orderNo": "200027",
    "opnNo": 40,
    "parentID": 27,
    "startDate": "/Date(980505000000)/",
    "finDate": "/Date(980508600000)/",
    "title": "Cleaning filling line",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 112,
    "orderNo": "200033",
    "opnNo": 10,
    "parentID": 33,
    "startDate": "/Date(987068520000)/",
    "finDate": "/Date(987071400000)/",
    "title": "Filling",
    "percentComplete": 0.4,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 113,
    "orderNo": "200033",
    "opnNo": 20,
    "parentID": 33,
    "startDate": "/Date(987069240000)/",
    "finDate": "/Date(987071400000)/",
    "title": "Labeling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 114,
    "orderNo": "200033",
    "opnNo": 30,
    "parentID": 33,
    "startDate": "/Date(987071400000)/",
    "finDate": "/Date(987075000000)/",
    "title": "Cleaning mixer",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 115,
    "orderNo": "200033",
    "opnNo": 40,
    "parentID": 33,
    "startDate": "/Date(987071400000)/",
    "finDate": "/Date(987075000000)/",
    "title": "Cleaning filling line",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  }
]
Mohomed
Top achievements
Rank 1
 answered on 12 Oct 2017
3 answers
180 views

This issue is occurring in Chrome, I have not tried other browsers.

The issue can be observed in demo http://demos.telerik.com/kendo-ui/autocomplete/serverfiltering

Note the minLength: 3 setting.

Type in "che" per the hint.  Developer tools network activity will show the $filter parameter as [ substringof('che',tolower(ProductName)) ]. All fine and good.

Now clear "che" by clicking on clear (x).  The network activity tab will show a Products call back with a $filter parameter [ substringof('',tolower(ProductName)) ].  The minLength setting was obviously ignored and the filter actually pulls _all_ the data from the remote source.  In the example it is 77 items.   For real world scenarios an unfiltered query could return an application destroying amount of data.  Despite pulling all the data, no suggestions are shown -- I presume because at this point the minLength is honored and thus no suggestions

Q:  How can I prevent an unfiltered query when clear clicked ?

Q: How can I force the autocomplete data source to have no items when clear is clicked ?

Thanks, Richard

Nencho
Telerik team
 answered on 12 Oct 2017
1 answer
531 views

Hi!

Please have a look at this demo: http://dojo.telerik.com/AWamE

Last 2 columns should behave the same. Only difference between then is the format specifier, once is '%' second is 'prc'.

But they are not. The '%' sees the column as percentage, so:

1. Multiplies the value I give with 100

2. When editing, % remains in place, even though in the second part it disappears. I would like to have it gone

 

Any ideas on how to make the % fields behave just like other format specifiers?

Thanks!

 

Joana
Telerik team
 answered on 12 Oct 2017
3 answers
189 views
Hello,

On filter section we have extra logic (“or”, “and”). We need to remove “or”. How can we do this via settings?

Best regards,

Artem
Stefan
Telerik team
 answered on 12 Oct 2017
4 answers
423 views

all,

I am using MVC scheduler and have created using a custom template editor. In the editor template, I set the end date via jquery based on parameters that the user selects. When I select to save the schedule is not updating correctly and show the default 30 minute. If I refresh the page I see the correct date. Right now I have it so after a save I refresh the page but that's not very efficient. If I manually edit the end date, it works correctly. 

 

I am wondering if this is a bug or I maybe I am not setting the end date properly.

I did look at the sample on the how you can dynamically set the date and time. I know this is correct but doesn't seem to work in the .

 

Thanks in advance for the help,

-Max

Dimitar
Telerik team
 answered on 12 Oct 2017
1 answer
256 views

Hi,

How can I bind to the expand or collapse event from code? I tried:

 

 $("#collapsibleDiv").on("expand", function () {
                alert("expand");
            });

 

without sucess. 

Kind regards,

 

Marco

 

 

 

 

 

 

Ivan Danchev
Telerik team
 answered on 12 Oct 2017
15 answers
215 views
I have a Macbook with El Capitan and MS Word 2011. When I try to copy text from word doc by doing command C and command V, it paste the text as an image automatically so I have to do "Paste and Match Style". It only happens on Chrome and not on Firefox. Is there a way to simply paste as text and not as image?
Kaoru
Top achievements
Rank 1
 answered on 11 Oct 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?