Telerik Forums
Kendo UI for jQuery Forum
1 answer
114 views

I seem to be having an issue with the JQuery Editor and customizing the tools.  If I just call $("#element").kendoEditor(); everything loads with the standard toolbar.  However when I try to set it up with tools options like so: $("#element").kendoEditor({tools:["bold", "italic", "underline","createLink", "unlink"]});  I get the following error in the image.  Any ideas?

 

Ianko
Telerik team
 answered on 27 Jun 2018
1 answer
204 views
Is there a way to set a background image for the diagram so that it will resize with the pan/zoom features?  Or is there a way to place an image shape at the bottom layer?
Tsvetina
Telerik team
 answered on 26 Jun 2018
6 answers
161 views

Is there a way to attach to any datasource event error? Something like jquery.on method that attaches also to events for elements that are going to be added in the future.

So what I would like is to display to the user a popup message when an error appears, but I would not like to add to every datasource an event for errors, because I would like to avoid forgetting to add it to a datasource.

Dan
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 26 Jun 2018
2 answers
149 views

Hi,

Is it possible to modify uploadUrl to upload selected file to SharePoint picture library?

 

Is it possible to handle this upload process manually somehow (view custom function)?

Plamen
Telerik team
 answered on 26 Jun 2018
2 answers
220 views

Hi there, 

So as my title says Im trying to bind an MVVM attribute to a Grid command button, its a custom command if that makes a difference. The reason being is that one of my commands is to 'Setup' a record, but setting up a record is dependent on the status of another field that is in the MVVM.

Please advise on how I can proceed, I see there have been a few post about this a couple years ago before without resolution. Everyone just seems to be falling back to using jQuery, but i dont want to have to do that.

Thanks,
Grant

Grant
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 26 Jun 2018
1 answer
827 views

Hi,

I've just implemented the read, update, create, destroy events for my datasource which fire ajax calls to their respective endpoints triggered by buttons on a Kendo UI Grid. However, if I create a record in the grid (and subsequently the datasource) I can see it hitting the end point, if I then delete the same record it does not trigger the destroy event. If a record is created, the page is refreshed then the delete event fires when the button is pressed. I tried adding a datasource read and sync to the success component of the ajax call but this caused an indefinite loop of reading and syncing without completing the required task.

Could you please let me know how I can force the delete trigger to fire even if the datasource assumes the record is only stored locally.

Thanks,

Ben

Stefan
Telerik team
 answered on 26 Jun 2018
2 answers
104 views

I'm working on a project which uses a button to open a kendo window. Inside this kendo window is a splitter which splits the window vertically  50%. On the left side is a kendo treeview control and on the right, a gridview will appear via the treeview's select event. This works but only once. I then have to refresh the page to get it to work again. I'm not sure why this is. I'll include some example code below. Thank you for your help. 

Here's the HTML for the window and the grid 

<div id="example">
   <div id="window">
            <div id="horizontal" style="height: 100%; width: 100%;">
               <div id="left-pane">
                  <div class="component-tree-view k-content">
                     <div id="treeview-left"></div>
                    </div>
                 </div>
               <div id="grid">      
               </div>
    
            </div>
      
         </div>
</div>

 

This is the javascript to initialize the the splitter and the window 

$(document).ready(function() {
 
   $("#horizontal").kendoSplitter({
      panes: [
          { collapsible: true },
          { collapsible: false },
          { collapsible: true }
      ]
   });
 
       var myWindow = $("#window");
 
 
 
        myWindow.kendoWindow({
            width: "1500px",
            title: "Parts Group",
            height:"500px",
            visible: false,
            actions: [
                "Close"
            ],
        }).data("kendoWindow").center().open();
    });

 

And this is my select event for the treeview to initialize the grid.

function onselect(e) {
 
   //initializing the grid here
   $("#grid").kendoGrid({
      toolbar: [
        { template: kendo.template($("#template").html()) }
      ],
      dataSource: {
         data: filteredData,
         schema: {
            model: {
               fields: {
                  ComponentId: { from: "ComponentId", filterable: true, },
                  Description: { from: "Description", filterable: true, }
               }
            }
         }
      },
      selectable: true,
      change: onChange,
      allowCopy: true,
      height: 500,
      scrollable: false,
      sortable: true,
      refresh: true,
      columns: [
          { field: "ComponentId", title: "Component Id", template: "#=test(data)#", filterable: true },
          { field: "Description", title: "Description", template: "#=description(data)#", filterable: true }
      ],
   });
   
}

 

Perrin
Top achievements
Rank 1
 answered on 25 Jun 2018
3 answers
162 views

Hello,

My company wants to start using the Kendo UI Scheduler component. They have given me a set of functional requirements about how they want to use the component. My question is, are all these requirements possible in this component, while staying as close as possible to the original component.

- Plan items in the week view, while having very specific day time slots. When a new item is created, it should fit inside one class of 50 minutes. However a item can be made short/longer manually.
See screenshot Timetable Group - adjusted. If swapping the axis around would make things easier, that would be possible!

- Items are moveable (Drag and Drop) and resizeable. Like here: https://demos.telerik.com/kendo-ui/scheduler/move-resize

- Work with different Groups, like group the data on 'classroom', 'teacher' or 'student group'. All in combination with the first requirement, of course. Like here: https://demos.telerik.com/kendo-ui/scheduler/resources-grouping-horizontal

- PDF Export

Please advise.

Kind regards,

Maries Koole

Dimitar
Telerik team
 answered on 25 Jun 2018
1 answer
305 views
Hello guys.

I'm porting kendo-ui to jquery to work in a practical and quick way in google golang.

The work can be followed here: https://github.com/helmutkemper/telerik

I have a problem in the dataSource validation module.

dataSource -> Schema -> Model -> Fields -> Validation

What are all validation rules? In some examples, there are the minimum, maximum, required fields .... But what are all the fields? What are the rules?
Nencho
Telerik team
 answered on 25 Jun 2018
1 answer
256 views

For the cell content in a treemap, in addition to the title text I would like to have a secondary piece of data that is centered in the cell. 

It would also be nice if the font size of the centered item changes with the size of the cell  (i.e. big cell == big font, small cell == small font)

Are either of those things possible?

 

Stamo Gochev
Telerik team
 answered on 25 Jun 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?