Telerik Forums
Kendo UI for jQuery Forum
2 answers
2.7K+ views
Is there a way to select which tab to initially select when creating the KendoTabStrip?  I would like to optionally start on the 2nd or 3rd tab when the page loads (without loading the content from the first tab at all).  Is this possible?
Andrew
Top achievements
Rank 1
Iron
Iron
 updated answer on 13 Jun 2023
2 answers
109 views

Hi,

Is it possible to change recurrenceeditor from buttongroup (green selection on the image) to dropdownlist (red selection on the image)?

 I'm currently operating on version 2023.1.117 and I know in previous version we had dropdown on recurrence editor.

 
Jakub
Top achievements
Rank 2
Iron
 answered on 13 Jun 2023
1 answer
127 views

Hi Team,

I have a requirement in Kendo Scheduler. I want to make some text bold in appointments displayed in the scheduler. Please refer highlighted area in the screenshot below. I tried to set datasource using HTML tags for that particular text but it is showing HTML as it is , because it is not appending HTML tag using append function of jquery.

Please help!

Neli
Telerik team
 answered on 13 Jun 2023
1 answer
157 views

Hello team,

I have a requirement in Kendo Scheduler. I want to make some text bold in appointments displayed in the scheduler. Please refer highlighted area in the screenshot below. I tried to set datasource using HTML tags for that particular text but it is showing HTML as it is , because it is not appending HTML tag using append function of jquery.

I am using eventTemplate feature of the Scheduler.

Code Example of same is here

Please help!

 

 

 

Also, facing one more issue. When bind records of around 100 groups then it shows result like this.

 

I tried with some work around but still has few issues. Tried to set width of the columns using below code. It increase size but appointments size not increasing refer below.

var minColumnWidth = 200;
var columns = $(".k-scheduler-header .k-scheduler-table > tbody > tr:last-child > th").length;
var availableWidth = $("#Scheduler").width() - $(".k-scheduler-layout > tbody > tr > td:first-child").width() - parseInt($(".k-scheduler-header").css("padding-right")) - 1;
var width = Math.max(columns * minColumnWidth, availableWidth);
$(".k-scheduler-content .k-scheduler-table").width(width);
$(".k-scheduler-header .k-scheduler-table").width(width);

 

 

Neli
Telerik team
 answered on 13 Jun 2023
0 answers
187 views

Hi,

We're trying to use the inline edit functionality of the Grid using the code below. But receiving an error 400 when trying to post using the "create" function of the Kendo DataSource.

JS

const dataSourceMeetingTypes = new kendo.data.DataSource({
	transport: {
		read: endpoint + "/read",
		create: {
			url: endpoint + "/create",
			type: "POST",
			data: function (e) {
				return kendo.stringify(e);
			},
			contentType: "application/json; charset=utf-8"
		}
	},
	error: function (e) {
		//console.log(e);
	},
	schema: {
		model: {
			fields: {
				meetingType: { type: "string" },
				meetingValue: { type: "string" }
			}
		}
	},
	pageSize: 5
});

Controller

[ApiController]
[Route("create")]
public class CreateController : ControllerBase
{
	[HttpPost]
	public ActionResult Create([FromBody] MeetingTypes meetingTypes)
	{
	}
}

public class MeetingTypes
{
	public string MeetingType { get; set; }
	public string MeetingValue { get; set; }
}

But the below code works outside the Grid. The data from the javascript above - kendo.stringify(e) matches the data below. Using Postman with the below data also works with no issue.

$.ajax({
	type: "POST",
	url: endpoint + "/create",
	data: "{\"meetingType\":\"test123\",\"meetingValue\":\"test123\"}",
	contentType: "application/json; charset=utf-8"
}).done(function (response) {
});

Any help is much appreciated.

Thanks

Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 13 Jun 2023
1 answer
146 views

Hi

I have a Requirement where only one attendee is allowed to schedule his appointments , there are many attendee exists. so I want to show only one attendee in dropdown list and I have populated with single attendee in dropdown list but after that create event is not working in Scheduler. please help me to sort out this issue or please provide me option so that I can disable attendee dropdown list. 

Thanks & Regards

Neli
Telerik team
 answered on 12 Jun 2023
0 answers
250 views

Hi, 

I need a little help if possible.

I have the following situation: We have "old" angularjs application built using Kendo UI Jquery (and some angularjs) components. We also have the custom theme for the app - based on kendo ui default theme and dark theme built through theme builder.

Recently we decided to slowly migrate to the latest Angular version (and logically) to use Kendo UI Angular. Since we are taking strangling tree approach, we are firstly migrating small individual windows.

To solve this I am basically building "standalone" angular components which I port to the old app. This is not the ideal process, but only possible in the moment.

What I need a help is following: My new standalone component have its styling and import kendo ui theme from Kendo UI Angular. So when I import my component's js file, I have to import its css file as well. Problem is that after I do this import, both of my apps are broken - styles mix up together and override eachother. 

Is there any suggestion or a way that I can prevent this - how to intentionally separate things in these two css files to stop overriding eachother?

 

Thank you

Regards,
Vedad

 

Vedad
Top achievements
Rank 3
Bronze
Bronze
Iron
 asked on 07 Jun 2023
1 answer
217 views

Hi, I need help in Kendo jQuery Gantt, I managed to remove time from Grid columns but how can I remove Time from Planned Start, Planned End, Actual Start, and Actual End fields? I only need date to be selected from the picker and to show in dd/M/yyyy format.

 

Martin
Telerik team
 answered on 07 Jun 2023
1 answer
117 views

Hi,

Is there any way to set the standard print options like "fitting content to print area" or "standard print page size'" while creating a PDF from the drawing API?

    let pdfOptions = {
        paperSize: 'a3'
        landscape: true,
       

//something like this
      printOptions = {
             fitContentToPrintArea: true,
             paperSize: 'a4'
       }
    };

        kendo.drawing.exportPDF(root, pdfOptions).done(function (data) {
            kendo.saveAs({
                dataURI: data,
                fileName: fileName
            });
        });

 

Neli
Telerik team
 answered on 07 Jun 2023
0 answers
111 views

During try the new version 2023.1.425 mobile listview component, when we  binding data and used the template, we found the prompt data [0]. 

uid is undefined, The old version did not find this problem, the new version of this problem, I do not know why.

see the link

https://dojo.telerik.com/?_gl=1*dxcc66*_ga*MTQyMzc3MjYyLjE2NzgwNzg5MjA.*_ga_9JSNBCSF54*MTY4NjA5NjI4NC4xMC4xLjE2ODYwOTYzMTguMjYuMC4w

dfdf
Top achievements
Rank 1
 asked on 07 Jun 2023
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?