Telerik Forums
Kendo UI for jQuery Forum
2 answers
284 views
Hi to all,
we are facing a behaviour from grid/datasource, which looks as a serious 'bug' to our customers.

The scenario is as following :

1) The grid is set up for 'Inline' editing.
2) The user changes to 'Edit' mode, changes some values.
3) Press 'Update' button
4) an error occurs in server side processing , the error handler displays a message.
->
5) now the grid row leaves the edit mode, removes dirty indicators and (!!) displays the new values changed from user.

This is very confusing for the user because he has no clue of the current data state.

Is there an approach or sample how to reset the grid row to 'Edit Mode' and indicate the current state of the grid/row.

Thanks
Thomas


Elko
Top achievements
Rank 1
 answered on 19 Apr 2013
3 answers
2.4K+ views
Good day,

I am new to Kendo Web widget. I have two different data entities to render rows for one grid, which are bound to the same service.
Can I use multiple datasources for one single grid?  
If it is possible, could you give me an example how to make it? Or alternative solutions ?

Guillermo Sanchez

Atanas Korchev
Telerik team
 answered on 19 Apr 2013
1 answer
114 views
I've found a bug in the latest release of Kendo UI for the grid.

Given a grid definition like:

<div data-role="grid" data-row-template="#= data.something #"></div>


Will not work correctly.  I've traced the problem to the 'parseOptions' function where it calls:

if (templateRegExp.test(option)) {


This method ALWAYS returns true because the value of 'option' is always 'rowTemplate'.  I believe the fix is to change this code to:

if (templateRegExp.test(value)) {


Which will correctly indicate if the value supplied for the 'data-row-template' attribute is an inline template, or the ID of script element that contains a template.

Please let me know when a fix is available. thanks.
Nikolay Rusev
Telerik team
 answered on 19 Apr 2013
3 answers
305 views

Is the rotator with the orange background on the home page of Kendo UI made with kendo UI web components?

 I like the way it works and would like to build a similar mechanism into my own web page.

Kyle schultz
Top achievements
Rank 1
 answered on 19 Apr 2013
4 answers
680 views
Is there a way to databind a listview group title.  For styling purposes in my app its nice to use the grouped listview so that the title can be styled nicely like so ...
<ul data-role="listview" data-style="inset" data-type="group">
  <li>
    Spiffy Items
    <ul data-role="listview" data-style="inset"  data-bind="source: spiffySource"  data-template="spiffyTemplate" ></ul>
  </li>
</ul>
I would like to be able to databind the group title such that I change the text based on how many items are present (i.e. 'No Spiffy items' if datasource has 0 items ... etc).  No problem I think databinding to the rescue ... I just make a computed dependency on my viewmodel and bind a span to that.
<ul data-role="listview" data-style="inset" data-type="group">
  <li>
    <span data-bind="text: spiffySourceHeader" ></span>
    <ul data-role="listview" data-style="inset"  data-bind="source: spiffySource"  data-template="spiffyTemplate" ></ul>
  </li>
</ul>
Sadly once databinding has done its thing the final output looks like this ...
<li class="km-group-container">
    <div class="km-group-title">
        <div class="km-text">
        </div>
    </div>
    <span data-bind="text: spiffySourceHeader">Found one Fuel Stop</span>
        <!-- ul and its contents here snipped for brevity -->
</li>
My span is outside of the km-group-title and km-text so it doesn't get styled ...

Now I know I can just apply the styles to make it look appropriately but what is the proper way to achieve this affect?
David
Top achievements
Rank 1
 answered on 18 Apr 2013
1 answer
306 views
Hi, 
I currently run some test to see if we can use Telerik Kendo Web on a very specific application. 

The programmers team need to send data to Telerik control without to many Framework UI "Black Box".  Its ok for him to rebind manually the date when a particular event come.

When we create the control:
$("#cboListe").kendoComboBox({
    dataTextField: "Nom",
    dataValueField: "Id",
    dataSource: Module.Collection,
    filter: "contains",
    suggest: true,
    index: 1
});
Module.Collection connait a lits of object. After the creation, what is the best way to refresh the combobox manually? I can recall the kendoComboBox function and recreate the combobox, but that cause a small visual glitch.

Any suggestion?
Alexander Valchev
Telerik team
 answered on 18 Apr 2013
1 answer
691 views
I have a multiselect with about 700+ items. It's quite possible that a user may want these items to be selected by default. Rather than displaying all of them, I would like to have a placeholder 'All' item that gets display in the case of nothing being selected. Any suggestions on how to go about doing this?
Alexander Valchev
Telerik team
 answered on 18 Apr 2013
1 answer
114 views
Hi Guys!

I'm trying to use the MultiSelect control with my favorites Kendo themes "Metro Black" and "High Contrast". All other Kendo controls in my application are themed accordingly but the MultiSelect background color remains white and text color is white too, thus making the MultiSelect selection by typing impossible and the control styling out of sync with the rest of properly themed controls.

Is this known behavior of the Kendo MultiSelect  control?

Cheers!
Iliana Dyankova
Telerik team
 answered on 18 Apr 2013
1 answer
120 views
Hi,

I'm trying to find if their is a way to have a treeview control navigate an iFrame instead of the entire page.

I can't seem to see any "target" type setting, and you can't tweak the node URL as the treeview control URLencodes it and prefixes it witht he domain/server.

Is it possible to set the target or force the URL to be treated as raw?

I should add.... I'm using VB, MVC and Razor.

Is there a way to do this?

Kind Regards,
NH
Daniel
Telerik team
 answered on 18 Apr 2013
5 answers
491 views
Hi,

is there a image browser planed to select an image to place in the editor?
The image browser data should come from an backend (via Data Source?).

Or is it possible to hook into to replace the image url window by my own component to achieve this?

Best,
André
Dimo
Telerik team
 answered on 18 Apr 2013
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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?