Telerik Forums
Kendo UI for jQuery Forum
3 answers
692 views

Hi,

If i have the following read attribute in my datasource, what does 'options.error()' do?

read: function(options) {
  $.ajax({
    url: /*[[@{/accesslevels}]]*/"/planner/accesslevels",
      success: function (data) { options.success(data); }

      error: function (msg) { options.error(msg); }
    });
}

THanks, 

GRant

Tsvetomir
Telerik team
 answered on 03 Sep 2019
1 answer
313 views
I have several columns with their filterable options set like so:

filterable: { multi: true, search: true }

 

These options result in a multi-checkbox type filter that includes a search input so that the checkbox labels can be searched.

This search works with a "contains" operator.

Is there a way to set this search to work with a "starts-with" operator instead?

 

Example:

Looking at the attached screenshot you can see that I have enter the value "li" in the search and my checkbox labels all contain that value, but I would like here is for just the "Livingston" checkbox to be displayed, since "Livingston" starts with "li".

Nikolay
Telerik team
 answered on 03 Sep 2019
1 answer
97 views

Hi,

Is there a way to capture the mouseover event on the palette?

 

Matt

Peter Milchev
Telerik team
 answered on 02 Sep 2019
7 answers
415 views

Hi,

I am working on gantt somewhat like this: https://dojo.telerik.com/UneJeBOd. All the data is in memory and all changes are to be handled locally and at the end sent to db to save. Now, when the tasks are dragged around to make it as subtask and to change the ordering, how to capture all the tasks that are effected. How for e.g, if Task3 is moved under task2. Task 2 becomes summary task. How to catpure that change?

2. If I move task 3 above task1, the orderid for both task1 and task3 changes, how to capture that.

Thanks

 

Veselin Tsvetanov
Telerik team
 answered on 02 Sep 2019
1 answer
3.9K+ views

I use below code to remove the selected rows in grid. But every time when I click a button to call this method, it only remove one row, not all selected rows. Am I missing something?

 function RemoveRecords() {
            var gridAdditive = $("#gridEdit").data("kendoGrid");
            gridAdditive.select().each(function () {
                gridAdditive.dataSource.remove(gridAdditive.dataItem($(this).closest("tr")));
            });

        };

Georgi
Telerik team
 answered on 02 Sep 2019
5 answers
323 views

I'm searching documentation about kendo Router with pushState=true. 
Using the configuration like:

pushState:true

root:"/"

when I use router.navigate always is fired the routeMissing event. Why?

I think that there isn't enought documentation about how to work with pushState.

Should i use navigate with pushState:true or history.pushState?

Can some write some example ?

Thanks

var router = new kendo.Router({
    pushState: true,
    root: "/",
    init: function(e) {
        debugger
    },
    routeMissing: function(e) {
        debugger
    },
    change: function(e) {
        debugger
 
    }
});
 
router.route("/", function() {
    loadModule("/presentacion");
});
 
 
router.route("/previsiones", function() {
    loadModule("/controls/prv/prv_listadoPrevisiones");
});
Dimitar
Telerik team
 answered on 30 Aug 2019
4 answers
359 views

Hello,

I’m trying to get query string values for a root route but parameters seems to be undefined.

e.g for url : https://mywebsite.com/?test=hello

thanks for your help.

var router = new kendo.Router();
 
router.route("/", function(params) {
    console.log(params); // undefined
});
Dimitar
Telerik team
 answered on 30 Aug 2019
5 answers
2.5K+ views
Hello experts,
I am involve with a project where me have to build up a system in which user will be able to dynamically add / remove columns and merge two or more cells of  Kendo UI grid. So that I tried to find better solution but didn't find any solution in google. Now my question is it is possible in Kendo UI grid. If possible how can I do this? Please suggest me asap.

Note : I am using Asp.net MVC3 and Entity Framework to develop my project.

Thanks in advance
Md. Mojammel Haque
Viktor Tachev
Telerik team
 answered on 29 Aug 2019
1 answer
105 views
How does one establish an enabled or disabled binding to a dropdownlist initialized via the jQuery Plugin Method rather than MVVM?
Nencho
Telerik team
 answered on 29 Aug 2019
9 answers
3.9K+ views
Hi.

I am trying to render image that is brought together on Model with full object.
I know that most people use to render action (make a new request) only for image with Id, but that seems to me too much load just to display an image.

Is there any way that an image can be rendered with model?

My demo with northwind has this
@using Kendo.Mvc.UI
@model IEnumerable<MvcApplication_KendoTest.Data.Employee>
 
<script type="text/x-kendo-tmpl" id="template">
    <div class="employee">

    <img src="${Image}"/>
 
        <h3>${Name} ${Lastname}</h3>
      
 
    </div>
</script>
 
<h2>@ViewBag.Title</h2>
 
@(Html.Kendo().ListView<MvcApplication_KendoTest.Data.Employee>(Model)
    .Name("listView")
    .TagName("div")
    .ClientTemplateId("template")
    .DataSource(dataSource => {
        dataSource.Read(read => read.Action("Index", "Home"));
        dataSource.PageSize(12);
    })
    .Pageable()       
)
On my template I am tryig to render an image of employee. However this renders [object Object].
Can some one help me?...

Thanks in advance
Nencho
Telerik team
 answered on 29 Aug 2019
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
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
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?