Telerik Forums
Kendo UI for jQuery Forum
1 answer
323 views

Hi guys

I develop scheduler's week, day.

for example

sunday is rest day.

and monday ~ saturday is work day.

working hours vary by day of the week.

like this below.

(mon : 10:00~12:00, lunch time: 12:00~13:00, 13:00~17:.00)

(thursday: 10:00~12:00, lunch time: 12:00~13:00, 13:00~18:00)

 

How to describe work time and lunch time?

I want that lunch time 's background color is grey. and event disabled,

and not work time is disabled too.

 

I read week day's min, max date

min date is startTime

max date is endTime.

 

please check and response...

please please..

 

regards,

Neli
Telerik team
 answered on 06 Sep 2021
12 answers
855 views
Hi all, I am hoping to get some valuable feedback and answers from this forum, since I am at wits end, trying to figure out this error:  =)

I have an MVC4 application using the Kendo Grid and I am trying to implement something similar to the example given here:

http://demos.telerik.com/kendo-ui/web/grid/local-data.html

The demo has a code snippet like this:
@model IEnumerable<Kendo.Mvc.Examples.Models.ProductViewModel>

@(Html.Kendo().Grid(Model)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.ProductName).Title("Product Name");
columns.Bound(p => p.UnitPrice).Title("Unit Price").Width(130);
columns.Bound(p => p.UnitsInStock).Title("Units In Stock").Width(130);
columns.Bound(p => p.Discontinued).Width(130);
})
.Pageable()
.Sortable()
.Scrollable(scr=>scr.Height(430))
.Filterable()
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(20)
.ServerOperation(false)
)
)

and for the controller, like this:
using System.Web.Mvc;

namespace Kendo.Mvc.Examples.Controllers
{
public partial class GridController : Controller
{
public ActionResult Local_Data()
{
var model = productService.Read();

return View(model);
}
}
}

The grid in my application is bound from server side and would like to do the paging, sorting and etc from the client side once it's bound and displayed in the view. It is very much set up like the example given above. I tried to Google this hoping to get some tips and I stumbled upon this Telerik thread:

http://www.telerik.com/forums/grid-server-side-binding-and-client-side-paging-sorting-etc

The Telerik staff mentioned in this forum that "This can be achieved by setting DataSource ServerOperation setting to false and pass the data to the Grid constructor". So, I followed his advice and also followed the demo given, however, my grid is always failing and gives me an error about "maxJsonLength" property and JavaScript serializer. Any advice on how I go about this? I tried changing the maxJson length property in web.config, but that did not work.

So, is what I am trying to accomplish possible? Is there something I am missing? Thanks very much for your time and I look forward to the response(s).

Romel
Ivan Danchev
Telerik team
 updated answer on 06 Sep 2021
1 answer
82 views

Hi team,

Facing this issue after an upgrade of kendo to 2021.2.511

I am trying to use kendo window ui jquery as a popup. With the same methods and property of window ui i am not able to minimize the window on double click if once it is set to maximize 

Second time double click on the title window is minimizing the popup. But not first time

Tried a lot, but unable to find a solution for it. Request your help in guiding the same.

Attached is a screenshot reference to say, once the window is maximized, it is not minimising on first click of window title

Thanks,

Archana S







 



 

Neli
Telerik team
 answered on 06 Sep 2021
1 answer
101 views
Please find screenshot provided.. Can you please provide us some solution ?

Neli
Telerik team
 answered on 06 Sep 2021
5 answers
333 views

Hello,

I have been searching the forum and documentation, but I have not found if there is a way to replace the default p tagging with divs instead.

 

Thanks,

Brian

Ashok
Top achievements
Rank 1
Iron
 answered on 06 Sep 2021
1 answer
491 views

I have a dropdownlist with some years. The data source I am using directly an array of numbers eq: [2020, 2021]. I need to remove the 2020. When I am trying to call the method dropdownlist.dataSource.remove(dropdownlist.dataItem()) nothing happens

 

Neli
Telerik team
 answered on 03 Sep 2021
1 answer
592 views

I have a grid that has some data, and when I press an "edit" button, I want a wizard with forms to edit the contents over multiple pages. Because of all the binding, I figured I could re-use the same wizard and popup and just reload the data inside. This works pretty well until I add validation. For some reason setting model data results in the value being NULL inside the model.

const model = discountWizard.steps()[0].form.editable.options.model;
model.set("requiredField", "required"); // required: true in form
model.set("optionalField", "optional"); // required: false in form

// results in 
dirtyFields: Object { requiredField: false, optionalField: true }
optionalField: "optional"
requiredField: null

I've added a reproducer in Dojo: https://dojo.telerik.com/eQoGApIL

How can I fix this?

 

On a sidenote, the reset button doesn't seem to do anything by default, is that intended?

Neli
Telerik team
 answered on 03 Sep 2021
1 answer
163 views
I am trying to use kendo.drawing for PDF export, but it gives me that is undefined. So I suppose it's from my kendo version ? 
Nikolay
Telerik team
 answered on 02 Sep 2021
1 answer
545 views

HI,

I have a Kendo UI spreadsheet control bound to a datasource. I need to format the currency fields within to include a thousand separator as follows 13,000,000. How is this possible in the schema/model/fields. Here is my code:

schema: {
                    model: {
                        id: "ItemId",
                        fields: {
                            ItemAmount: { type: "number", format: "#,#" }
                        }
                    }
                }

 

This doesn't work and the number is displayed as 13000000

 

Martin
Telerik team
 answered on 02 Sep 2021
2 answers
1.6K+ views

I have an editor function, where I receive a dataItem parameter. I'm wondering if there's a way to retrieve the column name or index from this dataItem.

 

https://docs.telerik.com/kendo-ui/knowledge-base/radio-buttons-custom-editor

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