Telerik Forums
Kendo UI for jQuery Forum
1 answer
92 views

 

We have requirement to display pager for grid in below format

1 2 3 4 5 >
< 6 7 8 9 10 >
<11 12 13 14

Displaying like below format currently

 

|< < 1 2 3 4 5  > >|

Can you please suggest how to achieve this feature

 

 

 

 

 

Ivan Danchev
Telerik team
 answered on 28 Apr 2020
7 answers
1.0K+ views
Hello, 
Please review the following dojo: https://dojo.telerik.com/EFuQANOF/2 
As you can see the upper labels look good (correct distance from chart as we need them to be) but the lower labels are incorrectly positioned over the chart itself.


It looks better in this other dojo: https://dojo.telerik.com/oWAWilAt 
But here we do not want the lines to be shown at all (we want the numbers to “float” next to the chart, like in the first dojo).


Can you please advise how we may fix the lower labels position of the first dojo so they will not override the chart but instead will appear outside the chart, similarly to the uppper labels?


Thanks
Tsvetomir
Telerik team
 answered on 28 Apr 2020
3 answers
4.2K+ views

I have a Dialog with 4 fields, the first 3 are cascading dropdowns and the 4th is a free entry field

If the user selects an item from the first  dropdown, the next two dropdowns are populating and showing values but if the user clicks straight to the 4th field, then nothing has been selected these two fields. In this case I want the 1st item in the 2nd and  3rd dropdowns to be selected automatically 

Here's the code for the 2nd field where I've been playing around unsuccessfully with the dataBound and  'this.select' lines following suggestions on this forums but the 'this' doesn't appear to be populated

    function cascadeComponentDropDownEditor(container, options) {
        $('<input id="componentDDL" disabled data-bind="value:' + options.field + '"/>')
            .appendTo(container)
            .svDropDownList({
                autoBind: false,
                dataTextField: "Name",
                dataValueField: "Id",
                select: onComponentSelect,
                dataSource: {
                    type: "json",
                    transport: {
                        read: componentDropdownUrl
                    }
                },
                dataBound: function() {
                if (this.dataSource.total() > 0)
                    this.select(0);
                }
            }).data("svDropDownList");
    }

 

 

Ivan Danchev
Telerik team
 answered on 28 Apr 2020
1 answer
238 views

i have two input controls and i have given validation is js file in below format which is working as expected and i am assigning values from data base to those controls. first input is populating value and for second control if we click on text box then only it is showing value.

 

setTimeout(function () { $("#numerictextbox").kendoNumericTextBox({ min: 1, max: 9999, format: "#", decimals: 0 }).siblings('input:visible').focus(); }, 1000); setTimeout(function () { $("#Priority").kendoNumericTextBox({ min: 1, max: 9999, format: "#", decimals: 0 }).siblings('input:visible').focus(); }, 1000

Silviya Stoyanova
Telerik team
 answered on 28 Apr 2020
1 answer
5.5K+ views
Hello,

I am creating a grid and I just want to show a symbol of % and $ with certain data. Actually if I put a % sign with data on server side then kendo itself process it and convert the data in percentage. All I want to show the data as it is that come from the server side. I know that kendo process data in percentage but rite now I don't want that kendo further process my data because it is already processed on server side.

I hope I convey my question.

Thanks in advance
Tsvetomir
Telerik team
 answered on 28 Apr 2020
1 answer
831 views
I am wanting to combine all selected items into a "item name" + "number of items selected" format instead of displaying every single item selected in the drop down list. Look at attached picture.

As a side note, having checkboxes would be good too...
Aleksandar
Telerik team
 answered on 28 Apr 2020
1 answer
108 views

Hi,

 

Is there a way to show on which column sorting was applied? similar to 

.k-spreadsheet-filter.k-state-active {
  background-color: lightblue;
}

Aleksandar
Telerik team
 answered on 28 Apr 2020
3 answers
1.9K+ views
I have a button on a tabstrip which onclick clones the active tab in a new kendoWindow. The problem is, that I need a new browser window, not a Kendo one.
I tried the following:
...                           
var clonedwin = jq(tab).clone().kendoWindow({ 
   title:     title,
   actions:   ["Close"],
   modal:     false,
   width:     "50%",
   height:    "600px",
   visible:   true,
   draggable: true,
   resizable: false,
   position: {
    top:  "10%",
    left: "30%"
   }                               
}).data("kendoWindow");
 
var win = window.open(clonedwin,"_blank","left=200,top=235,width=815,height=470,scrollbars=auto");

...

 

The result is a new window with the error: "Unable to find web object file '[object Object]'" plus a new KendoWindow with the content from the tab.

Thank you in advance, 
Syian


Veselin Tsvetanov
Telerik team
 answered on 28 Apr 2020
5 answers
437 views

     Hi All:

 I have a problem that I am trying to resolve. Please help me out here. Thanks in advance. 

 I want to build two features into the tool bar, one is search panel, 

https://demos.telerik.com/kendo-ui/treelist/search-panel

the other one is Add New Record button

https://demos.telerik.com/kendo-ui/treelist/editing-popup

 

Both if them have completely different syntax, and if I do this in the treelist it won't work.

toolbar: ["kendo.template($("#region").html())", "create"],

 

Can you guys help me out on how I can get these two functions in the same tool bar please? Thanks. 

 

 

Alex Hajigeorgieva
Telerik team
 answered on 27 Apr 2020
1 answer
197 views
I am looking to do grouping with Kendo Spreadsheet. Is this possible, or is there documentation on this? 
Something along the lines of doing grouping with the Kendo Grid, where you select a column to groupby. 

Thanks in advance,
Cheers!
Ivan Danchev
Telerik team
 answered on 27 Apr 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?