Telerik Forums
Kendo UI for jQuery Forum
1 answer
176 views
Hello, I need to make a feature in my grid where the FILTERS of each column are UPDATED according to the result of the GRID.

Attached is an image of an example.

1 - I apply the first filter which brings me only two records of FEMALE users.

2 - When clicking on the GENDER column, it shows two filters (Female and Male) but the result of the first filter brought me only FEMALE user, the filter should show only FEMALE according to the grid result


Can anyone help me with this solution?
Georgi Denchev
Telerik team
 answered on 09 May 2022
1 answer
118 views

Hi,

     ServerSide dataSource date format is 'yyyy-MM-dd HH:mm'. How to convert to the date format available to kendoScheduler's dataSource ?

     Thank youreally appreciate all your help.

Martin
Telerik team
 answered on 09 May 2022
1 answer
122 views

Hi,

     I'm a Java programming beginners and learning kendo scheduler recently. I've download "kendo-ui-demos-service" demo, but it's C# version. In actual work, I need to use java to write the background datasource.  Which expert has an instance of java version?

     Thank you very much for your help.

Martin
Telerik team
 answered on 09 May 2022
1 answer
290 views

Hi

I use a grid to show all items ordered by a customer.
This grid is reloaded with filtered remote data as soon as I select another customer. So far so fine.

The grid uses endless scrolling. Now, if I restrict to 200 records per page and I get 349 records as result, I can scroll to the end as expected and I get all the additional page(s).

But as soon as I've scrolled to the end of the list, the endless scroll feature seems to stop working. Loading the data of a new customer works fine but the grid doesn't scroll beyond record 200 and it doesn't load the next page.
Is there a way to reset the scroll endless behaviour and shouldn't this happen automatically when loading new data by filtering the data source?

Kind regards

Alex

Alex
Top achievements
Rank 1
Iron
 answered on 06 May 2022
0 answers
134 views

We are facing filter issue on Kendo Grid when filter value is mapped to 0, below is the piece of code.

(We are applying existing filters to the new datasource to get the expected result)

Code:

BulkTaggingDataSource.read().then(function () {
  var filter = {};
  if ($("#FoodGrid").data("kendoGrid").dataSource.filter()) {
       filter.filter = $("#FoodGrid").data("kendoGrid").dataSource.filter();
  }

var query = kendo.data.Query.process(BulkTaggingDataSource.read.data(), filter);

 $.each(query.data, function (index, content) {
         $.each(query.data, function (index, content) {
                   if ($.inArray(content.id, checkedIds) < 0) {
                       checkedIds[content.id] = state;
                   }
         })
   })
});

Filter which we get from $("#FoodGrid").data("kendoGrid").dataSource.filter(): is 

In our case if the {field: 'TotalHours', operator: 'eq', value: '0'} if the filter value is '0'
we get the query.data as empty array and we wont get the expected result.

and filter will work if the {field: 'TotalHours', operator: 'eq', value: '5'}

we are facing issue only for '0' filter. and in schema we have declared 'TotalHours' as number.

Kindly let us know how to fix this issue.

Mark
Top achievements
Rank 1
 asked on 06 May 2022
1 answer
383 views

I'm trying to get AutoComplete to work in a new Visual Studio 2022 project. We're using .NET 6. 

First question: when I try to run an AutoComplete sample app, I get error CS0246, "The type or namespace name 'Kendo' could not be found (are you missing a using directive or an assembly reference?" I believe the problem is that I don't have a link to Telerik's NuGet server where it can get this information. What is that link, please?

Second, in researching error CS0246 and what I might be able to do about it, I came across a page for a NuGet server from Telerik at nuget.telerik.com/v3/index.json. When I navigated to that link I was prompted to provide my Telerik credentials, which I did. That let me download a the Index.json file, which is was list of other servers, I presume NuGet servers, from Telerik. That's OK, for some individual development, but I want to put this into Azure Pipelines. I really do not want to put my credentials into either Azure Pipelines Library | Secure or Azure KeyVault. What is Telerik's work around so that I can put this information into Azure CI Pipelines?

Stoyan
Telerik team
 answered on 04 May 2022
0 answers
119 views

Hi team,

Seems listview is no more in SASS theme builder!

Furthermore, when creating custom css with theme builder, I get duplicate lines (typography and utils) in file.scss !?


@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/grid/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/autocomplete/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/combobox/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/multiselect/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/dropdownlist/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/dropdowntree/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/dropdowngrid/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/colorpalette/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/numerictextbox/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/daterangepicker/_index.scss";
@import "~@progress/kendo-theme-default/scss/typography/_index.scss";
@import "~@progress/kendo-theme-default/scss/utils/_index.scss";
@import "~@progress/kendo-theme-default/scss/datepicker/_index.scss";

 

Please advise...

 

Best regards,

Laurent.

Laurent
Top achievements
Rank 2
Iron
Iron
 asked on 04 May 2022
1 answer
1.1K+ views

Hello,

I'm trying to overwrite the default image of loader indactor like below:

<style>
    .k-loading-mask .k-loading-image 
     {
  	   background-image:url('./images/loader.gif');
     }
</style>

 

But still the default image is displaying (repeat is not a problem, I know how it fix).

 

Neli
Telerik team
 answered on 04 May 2022
19 answers
5.5K+ views
Just starting out with Kendo and JSON and not having much luck in binding a grid to a json datasource. Here's my data, stored as a file called 'data.json' stored in the same directory as the page:

{
“firstName”: “John”,
“lastName”:”Smith”,
“department”:”Human Resources”
}

and my page:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Kendo1.aspx.vb" Inherits="KendoUI.Kendo1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
    <link href="Styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
    <!--Then paste the following for Kendo UI Web scripts-->
    <script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/kendo.web.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {

            var ds = new kendo.data.DataSource({
                transport: {
                    read: {
                        url: "data.JSON", dataType: "json"
                    }
                }
            });

            $("#grid").kendoGrid({
               dataSource: ds,
               columns: [
                    {
                        field: "firstName",
                        title: "First Name"
                    },
                    {
                        field: "lastName",
                        title: "Last Name"
                    }]
            });

        });

    </script>
    <div>
        <input id="myAutoComplete" />
    </div>
    <!-- Define the HTML div that will hold the Grid -->
    <div id="grid" style="width: 40%; margin: auto;">
    </div>
    </form>
</body>
</html>


Running the page just gives me the header row with the titles.

If anyone can point me in the right direction i'd be grateful.

Thanks
Van Thao
Top achievements
Rank 1
Iron
 updated answer on 02 May 2022
1 answer
161 views

Hi, 

We do have a kendo scheduler bound to a remote data source.

The "transport" configuration of this scheduler's data source is done using remote urls (for CRUD), and this works perfectly,

On the server side, we make a lot of checks. So if some requirements are missing, Create, Update or event Destroy operations wouldn't pass and user will be shown the meaningful error.

The problem we're facing now is like the following :

For the Destroy action, what kind of response should we send back (from the server)  to the scheduler component (in the browser on the client side )  to prevent removal of events in the UI?

We've tried :

  • Sending back HTTP 500 status code
  • Putting an error field in the response and linking it to the schema.error configuration

But events are still removed from the UI, nevertheless the error event is fired. We even use this event to notify errors to end used.

Thank you.

Neli
Telerik team
 answered on 02 May 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?