Telerik Forums
Kendo UI for jQuery Forum
0 answers
128 views

 

I was configuration a directory in a directory by used File Manager.

 

After that whenever click the sub directory, parent directory move to left (created 'k-treeview-toggle').

 

What's that?

 

DEMO: multiple click the 'folder2' 

https://dojo.telerik.com/@handcake/EJucAmOF

jang
Top achievements
Rank 1
 updated question on 04 Feb 2022
1 answer
193 views

Hi, we need to use mutlSelect with huge dataset, 10k+.

We found a solution that seems to partially work, we just set a pageSize on the dataset, and it works almost perfectly.

https://dojo.telerik.com/@foxontherock/aJeWapAV/6

The DOM stay low, and we can select items outside the first page, and it works well, the items stays on the list of selected items.

The only issue seems to set "initial" values. If these values are not on the first page, they are not displayed and set.

I tried using the "value" parameter, and the .value method.

But, I know it's possible to make it work, because, after, when I select my items in the list, it's perfect.

Is it a bug, or do you have any suggestion to help me set the intial items?

Thank you.

p.s. I DONT want to use virtual property, I tried it and it's difficult to use and doesn't work as expected.

Frederic
Top achievements
Rank 1
Veteran
Iron
 answered on 03 Feb 2022
1 answer
192 views

Hi ,

Need to check programmatically (based on condition) level 3 (grand child) or more (gran grand child) nodes.

I am able to check till level 2. But can you help me to check the nodes when we have nodes in more that 2 levels.

The following code works up to 2 level:

 

 var treeview = $("#treeview").data("kendoTreeView");
    var myNodes = treeview.dataSource.view();
    var dataSource = treeview.dataSource;

 

    for (var i = 0; i < nodes.length; i++) {

            for (var j = 0; j < nodes[i].items.length; j++) {

                if (nodes[i].items[j].ischecked == true) {



                    for (var k = 0; k < myNodes.length; k++) {
                        myNodes[k].load();
                        if (myNodes[k].hasChildren) {
                     
                            var children = myNodes[k].children.view();
                           
                            if (children) {

                                for (var l = 0; l < children.length; l++) {
                                    if (children[l].id === nodes[i].items[j].id) {
                                        children[l].set("checked", true);

                             
                                        var dataItem = dataSource.get(nodes[i].id);
                                        var node = treeview.findByUid(dataItem.uid);
                                        treeview.expand(node);
                                    }
                                }
                            }
                        }

                    }
                }
            }

        }
Neli
Telerik team
 answered on 03 Feb 2022
1 answer
133 views
We are using the scheduler to display the calendar for multiple resources (patient, provider, & room) and the scheduler is able to restrict events from being created that conflict with existing events. Is there a way to have the scheduler recommend event time when the 3 resources are free? Has anyone built out a function to create event on the calendar where multiple resources are available?
Ianko
Telerik team
 answered on 03 Feb 2022
20 answers
3.3K+ views
Is there a way to move the list of pagination numbers to the top of the grid or to keep it visible when scrolling. If I make the grid small, it is easy to see the pagination numbers, but the detailTemplate requires a ton of scrolling. If I make the grid large, the user won't see the pagination numbers if their window is not tall enough.
Tom
Top achievements
Rank 2
Iron
 updated answer on 02 Feb 2022
1 answer
940 views

I want to load positions based on selected employee.

Index.Cshtml

$("#employees").kendoMultiSelect({
                placeholder: "Select employees...",
                dataTextField: "EmployeeFullName",
                dataValueField: "EmployeeId",
                autoBind: false,
                filter: "contains",
                dataSource: { 
                    serverFiltering: true,
                    transport: { 
                        read: baseUrl + "Schedules/GetEmployees_New",
                    }
                }
            }).data('kendoMultiSelect');
             
           $("#positions").kendoMultiSelect({
                placeholder: "Select positions...",
                dataTextField: "Code",
                dataValueField: "PositionId",
                autoBind: false,
                filter: "contains",
                dataSource: {
                    serverFiltering: true,
                    transport: {
                        read: baseUrl + "Schedules/GetPositions_New",
                        data: function () {
                           return {
                                IDs : $("#employees").data('kendoMultiSelect').value().join() //I am not getting this value in controller
                            };
                        }
                    }
                }
            }).data('kendoMultiSelect');

 

SchedulesController.cs

        public ActionResult GetEmployees_New(Filters filter, string IDs)
        {
            return Json(ReturnData, JsonRequestBehavior.AllowGet);
        }
        public ActionResult GetPositions_New(Filters filter, string IDs)
        {
            // I am not getting employee value in IDs parameter.
            return Json(ReturnData, JsonRequestBehavior.AllowGet);
        }

 

Model
    public class Filters
    {
        public string logic { get; set; }
        public DateTime? FromDate { get; set; }
        public DateTime? ToDate { get; set; }
        public List<Filter> filters { get; set; }

        public bool IsDailyHours { get; set; }
    }
Any help would be much appreciated.
Martin
Telerik team
 answered on 02 Feb 2022
0 answers
104 views

Hi

I have successfully used jQuery to get and use the Value from a Field embedded on the page's form ... this is triggered by an entry (Key 13) ... what I would like to do for a different page is wait for a Form Field to be in focus, then update the content of the Field then refresh the Page ... what I believe is going wrong with my attempt is I don't believe the dynamic page has been loaded before my script is attempting to change the value. The example I have basically fires once when the page supposedly finishes azar loading.

<pre hidden=""> <script> var xmlhttp = new XMLHttpRequest(); var apptype = "New Membership chatrandom Application"; xmlhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { jQuery('#vfb-field-1916').focus(); jQuery('#vfb-field-1916').val(apptype); location.reload(true); }} </script>

</pre> [vfb id=42]

EdwardCandis
Top achievements
Rank 1
 updated question on 01 Feb 2022
5 answers
152 views

Hi,

How do you configure a kendo jquery line chart with remote data (json) to display multiple axis.

I have a Target series with Date and Value AND a Program seires with Date a Value and I want both of them to be display on the same chart.

I was not able to find this demo or help from stackoverflow.

regadrs

Kevin
Top achievements
Rank 1
Iron
 answered on 01 Feb 2022
1 answer
153 views

Hi,

I have a line chart to show two data series, I use two line types but the legend is not synced with the series dash type.


function GetSeries() {
		return [{
			name: chartTerms[68941],
			type: "line",
			dashType: "dot",
			field: "Benchmark",
			color: chartColors["LightPurple"],
			markers: {
				visible: false
			},
		},
		{
			name: chartTerms[7151],
			type: "line",
			field: "Result",
			color: chartColors["DarkPurple"],
			markers: {
				visible: false
			},
		}]
	}

what I see is:

The Benchmark legend is not correct, it should be "dot"

Any idea?

Georgi Denchev
Telerik team
 answered on 01 Feb 2022
1 answer
715 views
I have a databound event that is used on grid but also on a treelist (at first it was grid). Is there a way to determine the type of the e.sender?
Martin
Telerik team
 answered on 31 Jan 2022
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
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
BulletChart
Licensing
QRCode
ResponsivePanel
TextArea
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?