Telerik Forums
Kendo UI for jQuery Forum
1 answer
333 views

Hi,

We're not sure if this is a bug or feature.

Using ListView and the method setDataSource with the built-in paging. The ListView appears to change data sources but the paging doesn't. Tried using the refresh() method but same result.

We worked around it by using the Pager widget and ListView without the bulit-in paging and this seems to work okay.

It's not a problem. Just found it weird that we do the same for a Grid on the same page using the method setDataSource and the data source changes okay along with the paging.

Any thoughts?

Thanks
// First load
var dataSourceListView = new kendo.data.DataSource({
	data: dataSource,
	pageSize: 8
});

$("#listView").kendoListView({
	dataSource: dataSourceListView,
	dataBound: function () {
	},
	template: kendo.template($("#template").html()),
	pageable: true	
});

// Not first load
$("#listView").data("kendoListView").setDataSource(dataSourceListView);
//$("#listView").data("kendoListView").refresh();
Georgi Denchev
Telerik team
 answered on 15 Dec 2022
1 answer
450 views
I have a kendo grid with grouping and locked columns. One of the columns contains just an icon. That icon is in that column in every row. That column is locked on larger screens but not on smaller ones, meaning when on small screens it is always in view. I need that column to always be an exact width (60px) while the rest of the columns in the table fill in the remainder of the available space. I can't figure out how to do this because using locked columns requires that every column have a width.
Georgi Denchev
Telerik team
 answered on 14 Dec 2022
1 answer
459 views

Hi,

Love the search bar addition to the Kendo Grid. Thank you!

The underlying DataSource is set to serverFiltering = true and so I was wondering if it was possible to only begin the search once the user has entered 3 characters or more? The current behavior is that calls to the back end are made as soon as the user starts typing in the search bar but I wanted to see if there was a way to delay that until after the user enters 3 or more characters.

I guess I could achieve this by defining my own read method under the underlying DataSource transport but I wanted to see if there was a more elegant way to achieve this.

Regards,

Georgi Denchev
Telerik team
 answered on 14 Dec 2022
1 answer
348 views

I was trying to implement Kendodropdowntree , I came across following situation which I am not able to understand


                $(dropdowntree).kendoDropDownTree({
                placeholder: "Select ...",
                height: "auto",
                dataSource:  //HARD CODED VALUE GOES HERE 
            });
       } 

Above example will work fine when , I hard code those datasource values. When I try to pass some variable there it will not work

var datatobind= somedata // data in exact format it is expected 
{
        
                $(dropdowntree).kendoDropDownTree({
                placeholder: "Select ...",
                height: "auto",
                dataSource:  datatobind
            });
       }

Even I tried passing variable of following type

var dataSourcetype = new kendo.data.HierarchicalDataSource({
        data: datatobind
    });

 
{
        
                $(dropdowntree).kendoDropDownTree({
                placeholder: "Select ...",
                height: "auto",
                dataSource:  dataSourcetype.options.data
            });
       }

But even above also doesn't solve problem, I am not able to get it , why passing exact same variable is not binding to data source.

Lyuboslav
Telerik team
 answered on 14 Dec 2022
1 answer
134 views

Hi, 

I've got an easy question, but I can't figure it out how it works.

My grid depends on another grid. If I select an item in grid A, grid B should always show page 1. Where and how can I set that page 1 is displayed? I tried it in DataBound, but it leads to a full call stack.

I would appreciate an example.

Thanks

Lyuboslav
Telerik team
 answered on 13 Dec 2022
1 answer
258 views
Hi all,
I am having some performance issue with Kendo grid when retrieving around 1500 rows of data equivalent to the size of 250mb.  I was actually able to make it load faster by setting ServerOperation(true); But using this broke my import export functionality being used in the page. The reason is unknown. The only change I made was setting the serverOperation to true. Is there any way to improve performance with ServerOperation as false. Personally i think the amound of data that actually renders shouldn't hamper the performance as it is doing right now. Any help will be appriciated. Thank you!
Karina
Telerik team
 answered on 12 Dec 2022
1 answer
173 views

Hello

I would like to use jQuery ListView to display products for an eshop solution.

Is it possible to nest a jQuery Rating Widget inside the ListView template and set the value when binding the data to the ListView?

I use ASP.Net Core with RazorPages.

Thank u for ur support!

Nikolay
Telerik team
 answered on 12 Dec 2022
1 answer
212 views

Hi - we have hundreds of thousands of users that access PDF documents using our products, which use the KendoPdfViewer for jQuery to display PDF documents in a web Application.  We are receiving reports that some users are seeing pixelation, or dropped pixels, in many PDF documents.  If they download the document and open it in a viewer of their choice, it is fine.  Incidentally, I see the same pixelation on your demo page for KendoPdfViewer (https://demos.telerik.com/kendo-ui/pdfviewer/index).  I have one machine in my possession (Windows 10) that seems to have the problem.  I have tried several different browsers and the result is the same.  I have a Windows 11 machine that works fine.  I tried upgrading pdf.js to the latest version, and updated Kendo to 2022.3.1109 - only slight improvement.  I uploaded screenshots highlighting the issue both on Telerik's page and ours.

Has anyone else encountered this?  Did you find a solution?  

We love Telerik but will need to find an alternative soon if we cannot resolve this problem.

Thanks!

 

Martin
Telerik team
 answered on 09 Dec 2022
1 answer
130 views

Hi,

I am trying to upgrade from R3 2021 to latest version of the library. 

However, I noticed that from version 2022.1.301 - whatever happens on gantt list, change event is triggered, what before wasn't case.

For example, if I select task A, and try to collapse another phase, change is triggered, selection of task A is lost.

Behavior is reproducible in the following Dojo, just change library version to any before 2022.1.301  to see old behavior and to that one or after for a new behavior.

If new behavior is not a bug, please could you advise on how to persist selection of the task on these side actions (collapse phase for example).

If you need any info, I will be happy to help.

Regards,

Vedad

Martin
Telerik team
 updated answer on 08 Dec 2022
4 answers
931 views

Hi, 

I am  using the following method to modify row background colors. 

Basically I want all parents to have one color while their children to have another color.

 

Here's what I am doing:

However, on expanding the treelist, it goes back to the original color (i.e. alternating white and greys)..What do I need to fix (or some other way) to accomplish what I am trying? 

 

function onDataBound(e){
    console.log("data bound event called");
    var rows = e.sender.tbody.children();
    for (var j=0; j<rows.length;j++){
        var row = $(rows[j]);
        var dataItem = e.sender.dataItem(row);
        var stratName = dataItem.get("strategyName");
        if (stratName.indexOf("parent") != -1 ) {
            row.css({"background-color": "#fda"});
        }
        else{
            row.css({"background-color": "#ced"});
        }
 
    }
 
}// end of onDataBound

 

Thanks a lot, 

Labhesh

Enes
Top achievements
Rank 1
Iron
 answered on 08 Dec 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
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
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?