Telerik Forums
Kendo UI for jQuery Forum
1 answer
345 views
I have a date filter ( "From"  "To") range defined for a Date column in my grid.  When I put a value in the bottom datepicker control and filter, everything works fine. However when I open the filter container back up again after the filtering, the date value I placed in the bottom datepicker has moved to the top datepicker.  The picture I attached shows this perhaps better than I explained.
Nikolay
Telerik team
 answered on 28 Sep 2020
3 answers
304 views
I've noticed that with ModalView in the Beta (kendoui.2012.2.621.beta.trial) it doesn't work both in example or via demo code.

That is to say, you see the modal in full display (ie doesn't initially show it hidden). When You also click on the Login button you get the following error:

  1. Uncaught TypeError: Cannot read property 'nextView' of undefined kendo.mobile.min.js:8
    1. h.extend.replacekendo.mobile.min.js:8
    2. c.Observable.extend.navigatekendo.mobile.min.js:8
    3. c.Observable.extend._findViewkendo.mobile.min.js:8
    4. c.Observable.extend.navigatekendo.mobile.min.js:8
    5. c.Observable.extend._startHistory.e.changekendo.mobile.min.js:8
    6. A.extend.triggerkendo.mobile.min.js:8
    7. c.Observable.extend.navigatekendo.mobile.min.js:8
    8. f.event.dispatchjquery.min.js:3
    9. f.event.add.h.handle.ijquery.min.js:3

Petar
Telerik team
 answered on 28 Sep 2020
2 answers
188 views

I have a Grid that has two Date field columns. I've implemented filters for both columns as shown below.  I'd like to assign an ID to the 4 datepickers that are created to be able to reference them later. 

  field: "issuedDate",
            title: "Issued Date",
            template: '#= kendo.toString(new Date(issuedDate), "MM/dd/yyyy HH:mm" ) #', 
            width: "140px",
            filterable: {
                ui: "datepicker",               
                //extra: true,
                operators: {
                    date: {
                        gte: "From",
                        lte: "To",
                    }
                },  
                messages: { "info": "Issued Date From -> To " },
            }
 
field: "receivedDate",
            title: "Received Date",
            template: '#= kendo.toString(new Date(receivedDate), "MM/dd/yyyy HH:mm" ) #',
            width: "140px",     
            filterable: {
                ui: "datepicker",
                 
                operators: {
                    date: {
                        gte: "From",
                        lte: "To",
                    }
                },
                messages: { "info": "Received Date From -> To " },               
            }

 

 

 

 
Nikolay
Telerik team
 answered on 28 Sep 2020
2 answers
250 views

A kendo treeview is looking rather off, as per the attached file.

I'm not sure how to resolve it exactly as I haven't made any changes to markup or styles.

Though, I feel some styles might be overriding the ones that the treeview uses.

 

In a bower.json file is the following entry in "dependencies":

"kendo-ui": "https://bower.telerik.com/bower-kendo-ui.git#2017.2.907"

 

The latest 2020 version was trialled, but there were issues with icons. We are running some old stuff. But since recently, the treeview was completely fine.

Does anyone have any suggestions as to what I should look for to see if I can get the styles to work properly?

Matthew
Top achievements
Rank 1
Veteran
 answered on 26 Sep 2020
3 answers
410 views
Hi Community,
I am using a KendoDateTimePicker, and would like to have the following function:
1) Disable weekends from the dates  -Picture 1

2) Keep the time within working hours based on what the admin has set up in a specific location.
All locations are operating between 9 am to 6.00 pm (Mon-Friday).

Example for B4: 
Each appointment will be 22 minutes long for B4. (Using admin config page) -Picture 2

Based on the location shown on the new appointment page (User location is B4), the duration for the Appointment time will be adjusted to 22 minutes. (Using new appointment page) -Picture 3

3) Once a time slot is taken up or when the date is full, the user will not be able to select it. 
User will not be able to choose slots which are taken/ or the slots that are taken will not appear in the selection. If the date is full (Not time slots available), the User will not be able to choose the date. -Picture 4

4) To have the Time dropdown open upwards instead of downwards (Similar to the dates dropdown)

Anyone can guide me through on how I can do it?
Thanks in advance. 
Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 25 Sep 2020
5 answers
968 views

Hello everyone,

I have an interesting dilemma.

 

I have a  database column that contains HTML.  I have encoded set to false and it appears as it should on the grid.

The issue is I have a filter on the row set to contains and whenever you type in the filter box it is displaying the html instead of the text within the html. Ex:  <h1>Test</h1> instead of just Test

I understand why this is happening but I was wondering if anyone had a way to "encoded: false" on the filter dropdown "results" so that the filtered suggestions would only contain text and not the HTML tags

Georgi
Telerik team
 answered on 25 Sep 2020
10 answers
2.3K+ views

I have the following problem:
I have a kendoUI grid and I execute the following steps:

1. I add a row to the grid.

2. I click "Edit"

3. I click "Cancel"

The row disappears.

 

<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name" },
    { command: ["destroy", "edit"]}
  ],
  dataSource: {

    schema: {
      model: { id: "id" },
      fields: {
              id: {type: "number"},
            name:  { type: "string", editable : true},
               }
    }, 
  },
  editable: {
    mode: "inline"
  }, 
   toolbar:[ "create"],
});
</script>


Georgi
Telerik team
 answered on 25 Sep 2020
1 answer
330 views
Can I assign an id value to the filter operator dropdownList control ?  I want to do this so I can reference the specific dropdown control later.
Eyup
Telerik team
 answered on 25 Sep 2020
13 answers
1.0K+ views

Hello, I have a requirement to change categoryAxis labels positions as per the negative and positive value so that they don't overlap with the bars. Like the one in below image. I tried the label rotation property, but it gets applied to all the bars irrespective of it's value. Is there any workaround to achieve this?

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 24 Sep 2020
1 answer
562 views

Hi, 

When I'm customizing the kendo tooltip with a custom class, setting the custom class to be added in the show event, the position of the toolbar is not correctly loaded when I'm setting a padding in this class. This happens only the first time showing the toolbar.

Is this an known bug that I should know about? Is there a fix or workaround for this?

I'm using kendo-ui": "^2019.1.2"

 

script:
show: (e) => {e.sender.popup.element.addClass("myclass");},

sass:

.myclass {
          padding: 10px;

        }

Martin
Telerik team
 answered on 24 Sep 2020
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
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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?