Telerik Forums
Kendo UI for jQuery Forum
5 answers
330 views

Hello,

Is there any way to prevent certain records from being dragged under each other?

For example,

I have people as parents and tasks as children. I don't want to allow people to be children of other people and tasks to be children to other tasks. I also do not want to allow people to be dragged under tasks. However, I still want to be able to assign tasks to people.

Is there any current or planned support for this?

Neli
Telerik team
 answered on 27 Oct 2020
3 answers
738 views
I can't figure out how i might fly out a split button programmatically.  My toolbar has an "export" function that is controlled with a split button.  I want the user to be able to click on any part of the button to expand the options.  However, the out of the box functionality is set up to only show the options when the user clicks directly on the little arrow of the split button.

I've got a way to do it, but it feels a bit messy.  What i'm doing right now is detecting the click on the main body of the split button, and then i have to set a timeout and fire both mouse down and mouse up on the arrow:


var btnClicked = e.target.closest(".k-split-button");
var btnSplitParent = btnClicked.closest(".k-split-button");
if (btnSplitParent.length > 0 && !btnClicked.hasClass("k-split-button-arrow")) {
    setTimeout(function () {
        btnSplitParent.find(".k-split-button-arrow").mousedown();
        btnSplitParent.find(".k-split-button-arrow").mouseup();
    }, 100);
 
}


Is there a better way to accomplish this same thing?
Aleksandar
Telerik team
 answered on 26 Oct 2020
4 answers
3.2K+ views

I have a remote data source which I use to populate the grid.

The grid has around 7000 rows and 30 columns, few rows also have a sub grid with maximum of two rows in each sub grid.

Using inbuilt filtering of grid based on a column takes about 3-5 seconds.

During that duration I want to show a spinning/loading icon.

I have the approach in the code below with no success.

The spinning/loading icon does not show up while filtering the grid and waiting for the grid to filter.

When I debug the page and put break points in JavaScript, I can see the loading icon on the grid as expected but its not there in normal use without the debugger open.

dataBound: function () {
            kendo.ui.progress($("#grid"), true);

            addSubgrid();

            highlightLines();
            disableLineItems();
            if ((!isGridEditable)) {
                makeGridReadOnly();
            }
            kendo.ui.progress($("#grid"), false);
        },
Dimitar
Telerik team
 answered on 26 Oct 2020
1 answer
315 views
Can you provide an example of utilizing the Upload configuration setting to send additional data?
Neli
Telerik team
 answered on 26 Oct 2020
8 answers
957 views

Hi,

I need Treelist Filter to show Parent row along with all its child nodes. Is this possible?

Appreciate any help.

 

Thanks,
Sanjay

Alex Hajigeorgieva
Telerik team
 answered on 26 Oct 2020
3 answers
123 views

How can I change the list of fields which will be included in the search of the grid after initialization? During the initialization you only have to define the search.fields configuration option, but apart from that it seems that it is not possible to change the list after the grid has been initialized. 

On the select event of a kendoDropDownList, I was hoping of calling something like the following and with that limiting the search only in the selected column of the grid:

$("#dropdownlist").kendoDropDownList({
  ...
  select: function(e) {
    jq("grid_id").data("kendoGrid").search.fields( [ option1 ] );
  },
  ...
});

 

Ivan Danchev
Telerik team
 answered on 26 Oct 2020
1 answer
1.5K+ views

Hi,

I have an issue when exporting the grid's content into PDF as rows which contain long texts appear cut off within the same page in the generated PDF. 

This is my current pdf grid configuration:

       pdf: {
            fileName: "myfile.pdf",
            allPages: true,
            paperSize: "A3",
            margin: { top: "2cm", right: "0.5cm", bottom: "1cm", left: "0.5cm" },
            landscape: true,
            scale: 0.8
        }

 

 

 

Is there any way to configure the kendo grid in order to export the full content of a row in many pages to avoid cutoffs?

 

Thanks.

Carlos

Veselin Tsvetanov
Telerik team
 answered on 23 Oct 2020
3 answers
236 views

Hello,

I have a problem with reloading data in my Kendo Treelist.

I have a div <div id="#treeview-div"></div>

when I bind data, I call LoadData function.

When I call the function for the 1° time, all works well.

When I call the function for the 2° time, hiearchical row doesn't work.

 

How can I clear my div and rebind without issue?

 

Thanks

LoadData = function (dati)
{
     
    $("#treeview-div").empty();
 
     
             
    dati.schema = {};
    dati.schema.model = {};
    dati.schema.model.id = "id";
    dati.schema.model.expanded = false;
    //
    var dataSource = new kendo.data.TreeListDataSource(dati);
                         
             
             
           $("#treeview-div").kendoTreeList({
                        dataSource: dataSource,
                        height: 600,
                        columns: [
                            { field: "DataOra" },
                            { field: "Attivita" },
                            { field: "Progetto" }
                        ]
                    });
}
Anton Mironov
Telerik team
 answered on 23 Oct 2020
8 answers
819 views
Hi,

Just wondering if anyone knows how I can catch a click event when a user clicks on a marker. There are click and shapeClick events but dosent seem to be a marker specific event.

Any suggestions greatly appreciated.

Cheers,
M
Preslav
Telerik team
 answered on 23 Oct 2020
5 answers
428 views
How can we add the checkbox filtering found in Grid to a Treelist?
Anton Mironov
Telerik team
 answered on 23 Oct 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
Drag and Drop
Application
Map
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?