Telerik Forums
Kendo UI for jQuery Forum
2 answers
251 views
Do you have, or are you able to produce JSON schema (in the sense of http://json-schema.org/) for the objects that provide configuration to the KendoUI controls?
Neli
Telerik team
 answered on 12 Oct 2017
1 answer
377 views

I can't work out how to set the width of the autocomplete input. Using PopupSettings I can set the width of the pop out box, is there an equivalent way of setting the width of the component itself ? Thanks.

 

<label class="k-form-field">
<span>Select Product</span>
<kendo-autocomplete
[popupSettings]="{width: 500}"
[data]="listItems"
[valueField]="'AltProductDescription'"
[filterable]="true"
[placeholder]="'e.g. Seed'"
(valueChange)="valueChange($event)"
(filterChange)="filterChange($event)"
>
</kendo-autocomplete>

Svet
Telerik team
 answered on 12 Oct 2017
3 answers
443 views

Issue: Disabling day(s) within the popup calendar in the scheduler

Question: How do you disable days (trying to disable Sundays) in the popup calendar in the Scheduler control. Have been able to disable days in a Calendar control. Cannot not find any sample on show how to implement this functionality in a Scheduler. 

Thanks

Ken

Ken
Top achievements
Rank 1
 answered on 12 Oct 2017
3 answers
1.5K+ views

I have a Grid grouped by a column and I would like to remove the column name and just keep the value in the group header.

for example:  I am grouping by a field called ProductType..  when my grid loads, the group header displays like this  ProductType: Cars

But I want the group header to just display Cars and not the field name also.

Thanks in Advance

Preslav
Telerik team
 answered on 12 Oct 2017
3 answers
197 views
Hello,

I would like to implement a data cursor for a DataViz Chart. That is: Something like a crosshair. But the data cursor should always be visible, and the user should be able to fix the position of the cursor by clicking with the mouse. So far I didn't find a solution for this problem in the documentation.

Any help would be appreciated.
Stefan
Telerik team
 answered on 12 Oct 2017
2 answers
302 views

Hi, I would like to request a sample example from you to know how in cell editing will work for a grid that uses column templates.

Attached is a snapshot of how my grid looks and i could not find a way to apply in cell editing for these columns. Please help.Thanks

Stefan
Telerik team
 answered on 12 Oct 2017
4 answers
775 views
Hi guys, I'm trying change the mask property in a component MaskedTextBox in runtime, can I do it? If yes, how?

Thank's
Tayger
Top achievements
Rank 1
Iron
Iron
 answered on 12 Oct 2017
5 answers
297 views
in my kendo have applied   get effect . if add   attribute, get margin-top applied

<input data-role="numerictextbox"
                   data-format="c"
                   data-min="0"
                   data-max="100"
                   data-bind="visible: isVisible,
                              enabled: isEnabled,
                              value: selectedNumber,
                              events: { change: onChange }"
                   style="width: 180px,margin-top:90px;">
Preslav
Telerik team
 answered on 12 Oct 2017
2 answers
314 views
Hi, I'm implementing a Gantt Chart on .NET using data from my own database. I have defined the JSON array's attributes just as in a demo on your website. The chart is plotted, but the hierarchy in which I have organized my data such as the parent-child relationships are off, i.e. the hierarchy does not work in the way the relationships are defined in the JSON data. My hierarchy is much simpler than the demo on your documentation. My JSON is as follows. As you may expect, it's a bit too long. I have also attached a screenshot of the Gantt and when you compare it with the JSON, you'd see that the hierarchy is off. Can you figure out what I've done wrong ?
[
  {
    "ID": 23,
    "orderNo": "200023",
    "opnNo": null,
    "parentID": null,
    "startDate": "/Date(987013800000)/",
    "finDate": "/Date(987013800000)/",
    "title": "Order 1",
    "percentComplete": 0.43,
    "summary": true,
    "expanded": true
  },
  {
    "ID": 27,
    "orderNo": "200027",
    "opnNo": null,
    "parentID": null,
    "startDate": "/Date(980447400000)/",
    "finDate": "/Date(980447400000)/",
    "title": "Order 2",
    "percentComplete": 0.67,
    "summary": true,
    "expanded": true
  },
  {
    "ID": 25,
    "orderNo": "200025",
    "opnNo": null,
    "parentID": null,
    "startDate": "/Date(978373800000)/",
    "finDate": "/Date(978373800000)/",
    "title": "Order 3",
    "percentComplete": 0.56,
    "summary": true,
    "expanded": true
  },
  {
    "ID": 33,
    "orderNo": "200033",
    "opnNo": null,
    "parentID": null,
    "startDate": "/Date(-62135596800000)/",
    "finDate": "/Date(-62135596800000)/",
    "title": "Order 4",
    "percentComplete": 0.89,
    "summary": true,
    "expanded": true
  },
  {
    "ID": 100,
    "orderNo": "200023",
    "opnNo": 10,
    "parentID": 23,
    "startDate": "/Date(978083400000)/",
    "finDate": "/Date(978085800000)/",
    "title": "Filling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 101,
    "orderNo": "200023",
    "opnNo": 20,
    "parentID": 23,
    "startDate": "/Date(978083400000)/",
    "finDate": "/Date(978085800000)/",
    "title": "Labeling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 102,
    "orderNo": "200023",
    "opnNo": 30,
    "parentID": 23,
    "startDate": "/Date(978085800000)/",
    "finDate": "/Date(978089400000)/",
    "title": "Cleaning mixer",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 103,
    "orderNo": "200023",
    "opnNo": 40,
    "parentID": 23,
    "startDate": "/Date(978085800000)/",
    "finDate": "/Date(978089400000)/",
    "title": "Cleaning filling line",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 104,
    "orderNo": "200025",
    "opnNo": 10,
    "parentID": 25,
    "startDate": "/Date(978428880000)/",
    "finDate": "/Date(978431400000)/",
    "title": "Filling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 105,
    "orderNo": "200025",
    "opnNo": 20,
    "parentID": 25,
    "startDate": "/Date(978428880000)/",
    "finDate": "/Date(978431400000)/",
    "title": "Labeling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 106,
    "orderNo": "200025",
    "opnNo": 30,
    "parentID": 25,
    "startDate": "/Date(978431400000)/",
    "finDate": "/Date(978435000000)/",
    "title": "Cleaning mixer",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 107,
    "orderNo": "200025",
    "opnNo": 40,
    "parentID": 25,
    "startDate": "/Date(978431400000)/",
    "finDate": "/Date(978435000000)/",
    "title": "Cleaning filling line",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 108,
    "orderNo": "200027",
    "opnNo": 10,
    "parentID": 27,
    "startDate": "/Date(980502360000)/",
    "finDate": "/Date(980505000000)/",
    "title": "Filling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 109,
    "orderNo": "200027",
    "opnNo": 20,
    "parentID": 27,
    "startDate": "/Date(980502360000)/",
    "finDate": "/Date(980505000000)/",
    "title": "Labeling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 110,
    "orderNo": "200027",
    "opnNo": 30,
    "parentID": 27,
    "startDate": "/Date(980505000000)/",
    "finDate": "/Date(980508600000)/",
    "title": "Cleaning mixer",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 111,
    "orderNo": "200027",
    "opnNo": 40,
    "parentID": 27,
    "startDate": "/Date(980505000000)/",
    "finDate": "/Date(980508600000)/",
    "title": "Cleaning filling line",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 112,
    "orderNo": "200033",
    "opnNo": 10,
    "parentID": 33,
    "startDate": "/Date(987068520000)/",
    "finDate": "/Date(987071400000)/",
    "title": "Filling",
    "percentComplete": 0.4,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 113,
    "orderNo": "200033",
    "opnNo": 20,
    "parentID": 33,
    "startDate": "/Date(987069240000)/",
    "finDate": "/Date(987071400000)/",
    "title": "Labeling",
    "percentComplete": 0.2,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 114,
    "orderNo": "200033",
    "opnNo": 30,
    "parentID": 33,
    "startDate": "/Date(987071400000)/",
    "finDate": "/Date(987075000000)/",
    "title": "Cleaning mixer",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  },
  {
    "ID": 115,
    "orderNo": "200033",
    "opnNo": 40,
    "parentID": 33,
    "startDate": "/Date(987071400000)/",
    "finDate": "/Date(987075000000)/",
    "title": "Cleaning filling line",
    "percentComplete": 1,
    "summary": false,
    "expanded": true
  }
]
Mohomed
Top achievements
Rank 1
 answered on 12 Oct 2017
3 answers
213 views

This issue is occurring in Chrome, I have not tried other browsers.

The issue can be observed in demo http://demos.telerik.com/kendo-ui/autocomplete/serverfiltering

Note the minLength: 3 setting.

Type in "che" per the hint.  Developer tools network activity will show the $filter parameter as [ substringof('che',tolower(ProductName)) ]. All fine and good.

Now clear "che" by clicking on clear (x).  The network activity tab will show a Products call back with a $filter parameter [ substringof('',tolower(ProductName)) ].  The minLength setting was obviously ignored and the filter actually pulls _all_ the data from the remote source.  In the example it is 77 items.   For real world scenarios an unfiltered query could return an application destroying amount of data.  Despite pulling all the data, no suggestions are shown -- I presume because at this point the minLength is honored and thus no suggestions

Q:  How can I prevent an unfiltered query when clear clicked ?

Q: How can I force the autocomplete data source to have no items when clear is clicked ?

Thanks, Richard

Nencho
Telerik team
 answered on 12 Oct 2017
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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
QRCode
ResponsivePanel
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
ContextMenu
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
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?