Telerik Forums
Kendo UI for jQuery Forum
1 answer
475 views
     I have a numericTextBox and I would like the user to be able to enter a percentage in either of two formats. The end result should always display the number as a percentage but store it as a decimal. For example, the user should be able to either enter .10 or 10% in the box. The screen should then show 10% when the user tabs out but send .1 when the form is submitted. Here is what I have so far: 

$("#myPercentageChoice").kendoNumericTextBox({
    format: "p1",
    spinners: false,
    value: 0,
    decimals: 3
});
Nikolay
Telerik team
 answered on 06 Jan 2020
4 answers
758 views

Hi,

I'm using 2019.3.1023 version. I have a treelist which retrieving data from remote source. When user select a time range in a list the treelist will be triggered to re-fetch the data with the new selected parameter. The datasource is updated succussfully and treelist is refreshed. But the pager is not updated accordingly.

The treelist configuration:

$('#gridtable').kendoTreeList({
                autoBind: false,
                dataSource: {
                    transport: {
                        read: {
                            url: top.$.rootUrl + '/PPM_Contract/Contract/GetList',
                            dataType: "json",
                            data: function () {
                                return {
                                    queryJson: JSON.stringify({
                                        // parameters send to remote source
                                    })
                                };
                            }
                        }
                    },
                    schema: {
                        data: "data",
                        total: function (response) {
                            return response.data.length;
                        },
                        model: {
                            id: "F_Id",
                            parentId: "externalId",
                            expanded: true,
                            fields: {
                                // some fields setting
                            }
                        }
                    }
                },
                filterable: true,
                sortable: true,
                resizable: true,
                selectable: true,
                pageable: {
                    pageSize: 100
                },
                dataBound: function (e) {
                    // some logic for styles
                },
                columns:[
                    // some columns
                ]
            });

 

The trigger of refreshing the treelist:

// some parameter assignment
// then call read method on datasource
$("#gridtable").data("kendoTreeList").dataSource.read();

 

With first selection of the parameter, 124 items are returned and 2 pages initialized, which is correct (attached as 1stTry.png).

With second selection, 248 items returned, total number is updated but the pager is not (should be 3 pages but stays as 2. Attached as 2ndTry.png).

How to refresh the pager with datasource?

Thanks.

Randy
Top achievements
Rank 1
Veteran
 answered on 06 Jan 2020
20 answers
2.0K+ views
Hello.

Currently I know how to filter Server true / false and I'm using filterable.

However, both methods have their advantages and disadvantages and are looking for more efficient ways.



1. Server filtering: true
The advantage of this method is that it is very fast.

However, since you only search within the page called Limit, you cannot perform filtering on all data.


2. Server Filtering: false
The advantages and disadvantages of this approach are the opposite of true server filtering.

You can query and filter all the data in the database.

However, if tens of thousands or hundreds of thousands of data passes, there will be a delay of several tens of seconds depending on the network line.


You can also create a custom filter to do a Query, but I don't think it's a good idea because it requires extra work on every field that needs filtering.


Is there a more efficient filtering method inside Kendo?
Tsvetomir
Telerik team
 answered on 03 Jan 2020
3 answers
276 views

Hi,

We need the below option to be implemented on the Kendo pie chart.
1) How do we merge the below 2% series value in other series value? Video link mentioned below for your reference.
2) We need to show the merged value data in the tool-tip. I have added the video link on the pie chart working and screenshot of the code & data-source. Can you please check and help with this?

Video link (old&new) ,  screenshot 1 , screenshot 2


Preslav
Telerik team
 answered on 01 Jan 2020
1 answer
239 views

Hello,

I often use custom editors.

But when using the dropdown list
$ ("# ..."). data ('kendoDropDownList');

I need to access the editor in the form, but I don't know what goes into # ...

If you created this editor statically, you would have an ID, but if you create a custom one, you will not have a separate ID.

My custom editor looks like this, and the ID I tried was the same as the string output in options.field.

dayDropDownEditor : function (container, options) {
    $('<input id="operDay"  data-bind="value:' + options.field + '"/>')
        .appendTo(container)
        .kendoDropDownList({
            suggest: true,
            dataSource: [
                {name:'월', operDay: '월요일', isDeleted: true },
                {name:'화', operDay: '화요일', isDeleted: false },
                {name:'수', operDay: '수요일', isDeleted: true },
                {name:'목', operDay: '목요일', isDeleted: false },
                {name:'금', operDay: '금요일', isDeleted: false },
                {name:'토', operDay: '토요일', isDeleted: false },
                {name:'일', operDay: '일요일', isDeleted: false }
            ],
            dataTextField: 'operDay',
            dataValueField: 'operDay',
            valuePrimitive: true,
            select: function(e){
                alert(JSON.stringify(options.field));
                 
            },
            change: function(e) {
 
            },
            template: kendo.template($("#template").html())
        });
}

 

"fn1": function() {
                var dropdown = $("#operDay").data("kendoDropDownList");
                var oranges = dropdown.dataSource.get(2);
                oranges.set("isDeleted", true);
            }

What data should be inside # ... for me to access .data ('kendoDropDownList')?

Plamen
Telerik team
 answered on 01 Jan 2020
1 answer
453 views

After removing an item in the list box it does not focus on the first item by default, We need an option to focus on the first item. Attached screenshot & video link for your reference. Please check 

Video link and screenshot

Hetali
Telerik team
 answered on 31 Dec 2019
8 answers
2.0K+ views
I have a few cells in a grid where the value contains HTML strings.   As an example, we bold part of a string like "This item costs <b>$100<b>".  When we export to Excel, that cell displays the full HTML string.  Do you know if there's a way through the api that we can tell that cell to render as HTML so that the <b> tags don't show up and the text is properly bolded?  Thanks!

Regards,
Brian
Alex Hajigeorgieva
Telerik team
 answered on 31 Dec 2019
1 answer
95 views
I have a button on my ASP.NET webforms project that once clicked will open a kenodoWindow whose content is another web page in the same project. All forms load correctly except for one with a report viewer tool. Once clicked The KendoWindow pops open and the toolbar for the reportviewer tool, however it doesn't load the actual reports to display. When I try opening the same page in its own webpage and not a Kendo Window the reports load fine in the tool. So my kendoWindow seems to be working fine, and reportviewer tool also works fine. Any reason why these two dont seem to work together?
Veselin Tsvetanov
Telerik team
 answered on 30 Dec 2019
1 answer
273 views

Hi Developer,

How to dynamically increase rows after I have created the Kendo SpreadSheet. The default row number is 200. When I use insertRow, the sheet only shift row next, but the rows still 200 and not 201.

 

Best regards,

Sang

Veselin Tsvetanov
Telerik team
 answered on 30 Dec 2019
5 answers
1.6K+ views
Hello,
        I am looking for Kendo ui progress with Custom text to be shown below loading image. How that can be achieved.  This ui progress link shows only replacement with other text or image . Not combination of both . Custom text to be shown below image
Plamen
Telerik team
 answered on 27 Dec 2019
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Dialog
Chat
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
TextArea
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?