Telerik Forums
Kendo UI for jQuery Forum
2 answers
243 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
394 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
951 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
321 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
997 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
555 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
10 answers
691 views

The latest update contained two changes to the filter row that are undesirable. 

 

The first, the filter row control now has an X in it. On smaller columns, it eats up a lot of the real estate. It is also redundant because next to the filter row operator, is a reserved spot for a clear button. Is there anyway to either remove the clear button from the text editor or remove the clear button next to the filter operator?

 

The second issue is the noDataTemplate. In my case, I don't want auto complete on the filter row text box. To remove it, I set the dataSource to an empty object. Unfortunately, this results in the textbox to constantly show No Data Found as you type. Is there any way to remove this feature for the filter row controls when the datasource is set to { } for the field?

 

Thanks.

Ivan Danchev
Telerik team
 answered on 24 Sep 2020
1 answer
40 views
It is nice that interface of kendo ui Jquery demos changed. but I cannot find API Reference link directly from component demo. Previously it was easy to find and click. Now there no such link.
Nikolay
Telerik team
 answered on 24 Sep 2020
4 answers
272 views

Drag-and-drop reordering between sibling nodes in the TreeList widget is a feature I've been greatly anticipating, and I'm happy to see it available in the 2020 R3 release. Unfortunately, in its first incarnation, it has some serious reliability issues and doesn't seem production-ready to me. See the attached screen recording of the widget's demo page and observe the steps I take:

  1. I drag Rinah's node to the upper border of its current position, which is also the bottom border of Akeem's node. Nothing happens, as expected.
  2. I do the same thing again, but this time, it reorders Rinah before Akeem.
  3. I then drag Rinah to the upper border of its current position again, which is also the bottom border of its parent node Hyacinth. Instead of the expected behavior of nothing happening, Rinah becomes a sibling of Hyacinth ordered after her.
  4. I drag Rinah back to be a child of Hyacinth again so I can retest the same action from step 3.
  5. I repeat step 3. Rinah becomes a sibling of Hyacinth again, but this time she is ordered before Hyacinth instead of after her.

From these steps, I can identify two bugs and a UX suggestion.

  • Bug: Steps 1 and 2 should not have produced different results. The same action should consistently produce the same result.
  • Bug: Dragging a node to the upper or lower border of its current position should not trigger any reordering action.
  • Suggestion: Implement you drag-and-drop reordering UX to be more like DevExpress's TreeList. In their implementation, dragging a node to the upper or lower border of its current position does not even show a reordering indicator, making it obvious to the user that they're not going to reorder anything. In addition, their styling for doing a sibling-level reordering (a thick horizontal line across the entire length of the row where it's being reordered to) versus a re-parenting (making all four borders of the new parent appear thick while you're hovering over it) is much more intuitive in my opinion. It's very obvious when the node is going to be reordered, re-parented, or neither. See the other attachment for an example of what I mean.
Jacob
Top achievements
Rank 1
Veteran
 answered on 23 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
Chat
DateRangePicker
Dialog
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?