Telerik Forums
Kendo UI for jQuery Forum
3 answers
377 views

Hello,

First of all thank you for implementing this control!

I'm doing some tests to see how it works, etc. and I'm facing the next issue. I think right now the control is lacking some kind of natural behavior. Maybe not everyone may want this, but I think some of us would like to have the feeling that we're talking somehow to a person instead of a bot.

I've modified your code in the demos for the function renderMessages to give it a more natural feeling:

 

renderMessages: function (messages) {
   var that = this;
   var msg = messages;
   function renderWithDelay() {
      var message = msg[0];
      switch (message.type) {
          case 0:
               that.chat.renderMessage({ type: "text", text: message.speech, timestamp: that._timestamp }, that.userInfo);
               break;
          case 2:
               that.renderSuggestedActions(message.replies.map(function (reply) { return { title: reply, value: reply }; }));
               break;
          default:
      }
      msg.splice(0, 1);
      if (msg.length > 0) {
         var newMessage = msg[0];
         if (message.type == 0) setTimeout(renderWithDelay, newMessage.speech.length * 12);
         else renderWithDelay();
      }
   }
   renderWithDelay();
}

 

However to really achieve this natural feeling when talking to the bot, I think it would be really useful to have an option, that could accept a boolean or JSON object, that would work as follows:

a) If it is a boolean and it is true, on the delay it will show a bubble saying that "Bot name is typing..."

b) If it is a JSON object, would work as if true, and let the user enter the message to appear in the bubble 

 

Thank you!

Bozhidar
Telerik team
 answered on 25 May 2018
1 answer
121 views
Hi,
I'm using a custom view for my scheduler. I'm tried to reduce the height of each cell using css but its not working is there a way to reduce the height

Ivan Danchev
Telerik team
 answered on 25 May 2018
3 answers
346 views

Hi,

I'm trying to reduce the cell width in the scheduler and also change the weekend highlight which is by default from Saturday to Sunday and change it to Friday to Saturday .
Is there any CSS hack for this requirement?

Thanks 

Ivan Danchev
Telerik team
 answered on 25 May 2018
1 answer
4.0K+ views

Hello, 

I have a case with kendo grid, can i mapping array of array in kendo grid column?

Thank you

 

*image capture.png for UI and image capture1.png for data

Stefan
Telerik team
 answered on 25 May 2018
2 answers
231 views

Hi.

Is there How to place the label of CategoryAxis on top?

I set axisCrossingValue of ValueAxis to the maximum value of int, but the chart was inverted.

https://dojo.telerik.com/UrAHoSUk

kako
Top achievements
Rank 1
 answered on 24 May 2018
2 answers
319 views

Hello.

I want to change the position of PlotBands of CategoryAxis when contents of Datasource are changed.

Is there how to change Plotbands dynamically?

I tried writing the code as follows, but it did not work.

https://dojo.telerik.com/uzefAkIl

kako
Top achievements
Rank 1
 answered on 24 May 2018
2 answers
108 views

Hello.

Is there a way to change the dash type in the middle of the chart?

In the following example, I would like to create a dotted line for chart after 2005.

https://dojo.telerik.com/uzefAkIl

Thank you as always.

kako
Top achievements
Rank 1
 answered on 24 May 2018
6 answers
182 views

Thank you as always!

Is there a way to move the labels of CategoryAxis to the middle when setting step to CategoryAxis?

https://dojo.telerik.com/iWeWeDUs

kako
Top achievements
Rank 1
 answered on 24 May 2018
10 answers
219 views

Hi.

It acquires e.dataItem in the SeriesClick event and displays the acquired data with an alert.

So, is there a way to make the background of the series clickable?

kako
Top achievements
Rank 1
 answered on 24 May 2018
5 answers
2.1K+ views

Hi, I want to change kendo ui scheduler event color programmatically based on a logic. please find the sample implementation in below. 

http://dojo.telerik.com/@lilan123/UPuDE/4

 

What I want is when I click on create button I want to add events and every event should have a different color. i tried to create the event as below adding color option but it doesn't work that way. 

 //Code 

attendees: '1',
start: new Date("2015/6/8"),
end: new Date("2015/6/8"),
title: "Off Day",
isAllDay: true,
color:'#0055A7'

Thanks 

Lilan

Bill
Top achievements
Rank 1
 answered on 23 May 2018
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?