Telerik Forums
Kendo UI for jQuery Forum
1 answer
228 views

Hi,

I have an entry in my Knedo UI comboBox as 'ArĂ© John'  While searching, if i use 'are' search is not working. Is there any way to search diacritics in Kendo Ui combo box or any work around to search above criteria. appreciate your help on this

 

$("#EmpList").kendoComboBox({
        placeholder: "search",
        dataTextField: "EName",
        dataValueField: "EID",
        dataSource: mdpList,
        filter: "contains",
        autoBind: true,
        minLength: 2,
        highlightFirst: true,
        change: onValueChange,
    });
Neli
Telerik team
 answered on 21 Mar 2022
0 answers
292 views

We have a grid that has approximately 116 columns. Currently we are using kGrid.reorderColumn to change the position of columns. Here is some issues with this method.

For example here is list of columns

1,2,3,4,5,6,7,8,9,10.....116

if I change position from 3 to 10. I have to run reoder 6 times since reoder call only shifts the columns. Now the problem with this rerorder call is, it has performance issues. The larger the gap of the reorder is the slower it gets, for example if I change col3 to col116. It becomes very slow, UI comes back in around 50 secs to 1 min and user thinks that the application is locked and not working.

Now the question is, is there alternative to reorder, in other words is there a method call that exchanges the column position rather than reordering. that way we don't have to call reoder that many times. We will just exchange the position of the columns and be done with it.

I am not sure if there is a way to do that. Please let us know. We would appreciate your feedback.

Thanks,

Iqbal

Iqbal
Top achievements
Rank 1
 asked on 20 Mar 2022
0 answers
64 views


I found docs about build all , but the gulpfils.js not handle it.

 

 

 

Lin
Top achievements
Rank 1
 updated question on 20 Mar 2022
0 answers
292 views

I'm trying the Kendo grid for the first time and am having a problem loading the data from a query done in PHP. My PHP query returns a data set in JSON format and I've confirmed that it's returning the correct data. But the grid comes up empty, and there's no error message. If I run the query from the PHP file, save the JSON to a file and use that file instead as the "transport/read" parameter of the data source, then the grid is populated correctly.  Is there some setting I need when reading from a PHP script instead of from a data file? Here is my code.


$(document).ready(function() {

    DataSource1 = new kendo.data.DataSource({
      transport: {
        //read: "comfit.php?proc=get_customers",  // This results in an empty grid
        read: 'customers.json',  // This is the same JSON as returned by the PHP, but it displays correctly
        type: 'get',
        dataType: 'json'
      },
      schema: {
        model: {
          fields: {
            full_name: { type: "string" },
            company: { type: "string" },
            id_no: { type: "string" }
          }
       }
      },
      pageSize: 20,
      serverPaging: true,
      serverFiltering: true,
      serverSorting: true
    }),
    $("#grid").kendoGrid({
        dataSource: DataSource1,
        height: 550,
        filterable: true,
        sortable: true,
        pageable: false,
        columns: [
          {
            field: "full_name",
            title: "Name"
          }, {
            field: "company",
            title: "Company"
            }, {
            field: "id_no",
            title: "ID #"
            }
        ]
    });
    //DataSource1.read();
  });

Glenn
Top achievements
Rank 1
Veteran
 asked on 19 Mar 2022
1 answer
136 views

Hi!

I get Uncaught TypeError: Cannot read properties of undefined (reading 'bbox') when i want to save pie and donut as pdf in jQuery but all other charts works fine what can the problem be?

 Untitled | Kendo UI Dojo (telerik.com)

Regards Sanjin

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 18 Mar 2022
2 answers
2.3K+ views

Hi!

I get Uncaught TypeError: Cannot read properties of undefined (reading 'bbox') when i want to save pie and donut as pdf in javascript but all other charts works fine what can the problem be?

 

Regards Sanjin

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 18 Mar 2022
0 answers
109 views

I have a pager control that needs to show the pageSize drop-down. On the initial load of the page, the drop-down is not shown, but any resize events, even towards making the page narrower result in the drop-down to be shown.

Here is how the pager control is defined:

 


$("#pager").kendoPager({
            dataSource: vm.DataSource,
            pageSizes: [5, 10, 20, 50, 100]
        }).data("kendoPager");

and here is how it looks when the page loads:

and here is how it looks if I resize page in any way, even towards making the page narrower:

My question is why the Page Size drop-down is not visible when the page first loads?

Thanks

 

 

Evgueni
Top achievements
Rank 1
Iron
 updated question on 18 Mar 2022
1 answer
98 views

I had a case the other day when multiple spinners on the NumericTextBox would have been great for user input.

I.e. first spinner with step: 1, second spinner with step: 10 and third spinner with step: 100

I imagine a setup something like this:

spinners: {
  min: 0,
  max: 1000
  first: { step: 1 },
  second: { step: 10 },   
  third: { step: 100 },  
}

Georgi Denchev
Telerik team
 answered on 16 Mar 2022
0 answers
208 views

I have a timepicker which holds time values in the format of HH:mm. What I want to achieve is to filter the values while typing, so if I type 11 in the field, I have only the following options - 11:00 and 11:30.

Is there a way to achieve this?

Pavlina
Top achievements
Rank 1
 asked on 16 Mar 2022
1 answer
95 views

Hello,

=> We have a solution that has multiple editors.
=> The editors have paste rules that are dynamic in nature,  editors can be added dynamically as well.
=> We implemented a common custom paste cleanup callback.
=> In this method, we need the reference to the editor where the paste was done, so that we can read the properties of the editor and determine what to keep in the pasted content.

There does not seem to be a way to find out which editor triggered the pasteCleanup callback,  the "this" variable has pasteCleanup settings and not the editor itself.

Is there a way to get a reference to the editor in question? We are using the focus/keydown events to keep track of active editors, however we might miss something somewhere, and would like the pasteCleanup callback itself to tell us what editor it has been called from.

Martin
Telerik team
 answered on 15 Mar 2022
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawer (Mobile)
Drawing API
Globalization
Gauges
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
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
+? 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?