Telerik Forums
Kendo UI for jQuery Forum
1 answer
6.3K+ views
Hello,
I have following grid:

@(Html.Kendo().Grid<Dto.ReportTimeStatDto>()
 .Name("ReportGrid")
 .Columns(columns =>
 {
    columns.Bound(c => c.BusinessProcess).Width(100);
    columns.Bound(c => c.WorkName)).Width(150);
    columns.Bound(c => c.CreationDate).Width(130);
    columns.Bound(c => c.TimeLimitDate).Width(130);
    columns.Bound(c => c.FinishDate).Width(130);
  })
  .AutoBind(false)
  .Scrollable()
  .Resizable(r => r.Columns(true))
  .Groupable()
  .Sortable()
  .Filterable( )
  .Pageable(pageable => pageable
 .Refresh(true)
 .PageSizes(true)
 .ButtonCount(5))
  .DataSource(dataSource => dataSource
    .Ajax()
    .Read(read => read.Action("Read", "ReportTimeStat"))
    .Model(model => model.Id(m => m.Id))
   )                                
   )

and I have just a simple button:
<button id="statistics" type="button">Statistics</button>

I would like to achieve this scenario:
When user clicks statistics button I would like to pass DataSourceRequest to WebApi Controller. Then I would like to read all data (change pageSize to total count of records) with current filters set on grid and count average value of data from one of the columns.
I have problem with passing DataSourceRequest to my method in controller. I tried sending
$("#ReportGrid").data("kendoGrid").dataSource.filter()
object, but it's a bit different from DataSourceRequest so it's not working.
How could I solve this problem?
Jeffrey
Top achievements
Rank 1
Veteran
Iron
Iron
 answered on 09 Jun 2020
1 answer
1.8K+ views
After Upgrading to Kendo version- 2020 when i am using DatePicker or Date/Time Picker in a Kendo Grid the Calendar and Time is not displaying on clicking the Calender and clock icon also in one case The icons are also not visible. this is happening only when date or date/time picker is used in Kendo Grid
Nikolay
Telerik team
 answered on 08 Jun 2020
4 answers
478 views

Latest 2019 R3 release,

kendo for dotnet core,

pdf.js same version as from pdf vewier kendo demo cdn,

only started happening in R3, R1,R2 weren't effected.

 

Please see attached.

Dimitar
Telerik team
 answered on 08 Jun 2020
1 answer
1.4K+ views

I'm incorporating Kendo ui widgets into an existing application. Unfortunately, the Kendo theme css is overriding other css styles for non kendo widgets.

Is there a way to prevent kendo theme css from doing this?

Aleksandar
Telerik team
 answered on 05 Jun 2020
1 answer
118 views

Apologies if this has been asked before...

 

I have a grid where we display a matrix with checkboxes that users can click to check/uncheck items. As long as there aren't  ~ > 1000 rows and columns everything is fine. I turned on virtual scrolling like this:

scrollable: { virtual: true }

 

and like this:

scrollable: { virtual: "rows, columns" }

neither seems to do much when you have 2500 columns and 3000 rows.

 

Is this even doable? Is there an example of this somewhere I could see?

 

Matt

Alex Hajigeorgieva
Telerik team
 answered on 05 Jun 2020
2 answers
205 views

Hello. I have a very weird issue with Kendo grid. After creating a new record the grid seems to firing a destroy event for some random records. it calls DELETE action on the server that modifies some rows in DB:(sets IsActive field to false, updates ModifyDate and some more rows). I am certain that the delete action is called because of these rows are updated as it is configured in the action. the rows that are being deleted (deactivated) are completely unrelated. has anyone had the similar issue or any ideas how to fix this?

I have attached couple photos. one shows the destroy event configuration, and another one shows database rows, the top ones are deactivated after create event of the bottom row. about 4 to 6 rows are deleted every time.

please let me know if you have some ideas. Thank you in advance

Nikolay
Telerik team
 answered on 05 Jun 2020
11 answers
307 views
On

http://demos.telerik.com/kendo-ui/web/scheduler/index.html

if you open the firefox console and executes this script:

$("#scheduler").data("kendoScheduler").destroy();

the scheduler is almost destroyed, but the toolbar remains.
Martin
Telerik team
 answered on 05 Jun 2020
1 answer
213 views

Hi Telerik,

The scheduler take too long time to ready when load with 2000 events in the agenda view.

Is there any way that we can do to improve the performance?

 

Aleksandar
Telerik team
 answered on 05 Jun 2020
1 answer
282 views

I set grid editable option

editable : { createdAt : 'bottom' }

but

 

when adding a row with a filter applied, the row to be added does not appear in the last row. (appear randomly)

set filter options

 

 

{
  logic: 'or',
  filters: [{field: 'name', operator: 'eq', value: ''}, {field: 'name', operator: 'contains', value: 'Jane'}],
}

 

how can i do?


Petar
Telerik team
 answered on 04 Jun 2020
17 answers
640 views

Is there a way to setup Kendo UI Scheduler in timeline view to show a time span across midnight?
If startTime and endTime are in the same day all works fine, if I set two different days it show nothing.

I created two dojo examples. They are different only for startDate and endDate

(working, single day) http://dojo.telerik.com/@purchased.software@deltatre.com/Otale/2

(not working, across days) http://dojo.telerik.com/@purchased.software@deltatre.com/OTUmA

Thanks!

Ivan Danchev
Telerik team
 answered on 04 Jun 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
Application
Drag and Drop
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?