Telerik Forums
Kendo UI for jQuery Forum
1 answer
119 views

Can somebody please tell how to disable already applied dates.

For example, if i have selected range by entering start date and end date for a particular user then for that user next start date should show from previous end date

that is he shouldn't be able to select previous range.

Georgi Krustev
Telerik team
 answered on 27 Apr 2016
6 answers
749 views

For instance, kendo generates the following url for odata

http://gmovpwbwebdev01:8001/odata/PSellerPartnerMPNLocation?%24format=json&%24expand=PSeller%2C+Geography&%24top=20&%24orderby=PSEllerName&%24filter=((Geography%2FSubsidiaryDistrictId+eq+11182+or+Geography%2FSubsidiaryDistrictId+eq+11179)+and+(Geography%2FSubsidiaryId+eq+161+or+Geography%2FSubsidiaryId+eq+49)+and+Geography%2FAreaId+eq+5)&%24count=true

How do I retrieve the url that is build on the client.  I need to send the odata filter to the server for different processing and I don't want to build the string myself if kendo is already doing that.

T. Tsonev
Telerik team
 answered on 27 Apr 2016
1 answer
98 views

Hi,

We've run into a problem with using the autocomplete inside a grid.  The issue, as stated in the title, is that the popup is positioned in the upper left hand corner, rather than being positioned underneath the grid cell.

Here is a dojo which duplicates the problem: http://dojo.telerik.com/@villagemedia/ujize

Georgi Krustev
Telerik team
 answered on 27 Apr 2016
10 answers
1.9K+ views
Is there an easy way to have the numeric text boxes in edit mode in a grid not include the spinners?

I've tried this:
  { width: 30, field: "Price", format: "{0:c}", attributes: { spinners: false } }, 
and this:
  { width: 30, field: "Price", format: "{0:c}", spinners:false }, 

But neither achieves what I want. Do I really need to add code that hides them each time the numeric edit control is activated?
Shawn
Top achievements
Rank 1
 answered on 27 Apr 2016
2 answers
377 views

Hello Kendo team,

I have a AngularJs Grid with scrollable set to { virtual: true } inside a TabStrip tab. This tab is not the selected tab, but the grid loaded in the background tab anyhow. When I switch to the tab containing grid, the scrolling is broken. If I hide (ng-if="false") the grid, and reload it again while I have this grid tab selected, the grid works fine. See plunk for demo of the problem.

Instruction for reproduce:

1. Select "Virtualized locked Grid" tab and try to scroll. Cannot, the scrolling is broken.

2. Without leaving this tab, click on the "Hide / Show Grids" button to remove the grid, and click again to reload the grid. Try scrolling, the scrolling works!

3. Select "Simply Locked Grid" tab and try to scroll. Scrolling works fine.

4. Select "Simply Virtualized Grid" tab and try scroll. Cannot, scrolling is broken like the "Virtualized locked Grid" tab.

5. Try step #2 on the "Simply Virtualized Grid" tab, and the scrolling works again. 

It seems grid with scrollable set to { virtual: true }, with or without locked columns have scrolling problems when loaded inside a tab when the tab is not actively selected.

 

Help! Will you guys fix this as a bug, or do you have any suggestions to combat this problem meanwhile? (I know I can refresh the widget on activation event, but that's hell of annoyance. The whole reason we ditched our self made tab directive was to avoid complicated refresh widget dance on tab selection. )

Best,

Ama

Anna
Top achievements
Rank 1
 answered on 26 Apr 2016
3 answers
1.5K+ views

How do I make the multi select default to the first value if there is only one row in the datasource view when the datasource is filtered

 

In angular i have tried many things, last thing I tried was a watch.   Here is code that is not working where ddlRegion is my angular multiselect

 

    $scope.$watch("dsRegions.view().length",
                 function handledsRegionsChange(newValue, oldValue) {
                     values = [];

                     if (($scope.dsRegions.view().length == 1) && ($scope.selectedRegion == null)) {
                         values[0] = $scope.dsRegions.view()[0].RegionId.toString()
                         $scope.selectedRegion = $scope.dsRegions.view()[0].RegionId;
                         $scope.ddlRegion.value(values);
                     }
                 }
             );

 

 

Boyan Dimitrov
Telerik team
 answered on 26 Apr 2016
2 answers
1.0K+ views

Hi,

 

I am using kendo treeview with checkboxes in ASP .Net MVC. The datasource for the treeview is a list of item and want some of them to be selected on loading the treeview and then I want to pass the newly selected items to the controller. I can achieve each one of the two separately(with a line of code for each functionality), but they seem to be mutually exclusive.

 

This is my code for the view:

@(Html.Kendo().TreeView()
                        .Name("PrescriptionProductInstructions")
                        .DataTextField("Name")
                        .Checkboxes(x => x.CheckChildren(true))
                        .CheckboxTemplate("<input type='checkbox' name='checkedFiles[#= item.id #]' value='#= item.id #' #if(item.IsChecked){# checked #}#/>")
                        .Events(events => events.DataBound("onDataBound"))
                        .Checkboxes(x => x.Name("PrescriptionProductInstructions"))                        
                        .DataSource(source => source.Read(read => read.Action("GetInstructions", "Note", new { productId = Model.ProductId, personId = Model.PersonId }))))

    <script>
         function onDataBound() {
            $("#PrescriptionProductInstructions").data("kendoTreeView").expand(".k-item");
        }
    </script>                         

 

The first bold line of code helps me pre-select some item when loading the tree and the second line of code helps me pass the list of ids of the selected items.

 

My question is whether I can have both functionalities as the same time? If yes, how?

 

Thanks in advance.

 

Regards,

 

Dayana Hadzhipetrova

Dayana
Top achievements
Rank 1
 answered on 26 Apr 2016
1 answer
473 views

Hi,

Does kendo offer the possibility to build a dashboard by defining the queries and the type of charts?

Like the dashboard of devexpress: https://www.devexpress.com/products/net/dashboard/

Thanks,

Seifeddine

Vessy
Telerik team
 answered on 26 Apr 2016
1 answer
104 views

Hi,

With Kendo Scheduler in Day or Week view, moving some all day events causes "Uncaught TypeError: Cannot read property 'startOffset' of null".

Steps to reproduce:

1. Almost any Kendo demo. For example: http://demos.telerik.com/kendo-ui/scheduler/move-resize

2. In week view, move two events to "all day events" for the same day.

3. Refresh the page. With demo this occurs only after refresh as the events must come from API as all day events for the same day.

4. Start dragging the lower all day event..

This causes "Uncaught TypeError: Cannot read property 'startOffset' of null". Reason is that Kendo cannot find a slot for event. This is because the all day slot height is too low to cover more than one event (only reaches the top all day events).

 

BR,

Keijo

Vladimir Iliev
Telerik team
 answered on 26 Apr 2016
1 answer
88 views
Hi,

I was using " Kendo UI v2015.1.318 " and the function fileupload add and remove files , but after update to " Kendo UI v2016.1.112 " , the function only add the files. I did try catch the problem but is as if no event.

Someone can help?
Dimiter Madjarov
Telerik team
 answered on 26 Apr 2016
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
Licensing
ScrollView
Switch
TextArea
BulletChart
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
TimePicker
FloatingActionButton
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
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?