Telerik Forums
Kendo UI for jQuery Forum
1 answer
104 views
I would like to change the defaultValue of a field in my datasource dynamically, based on user input.

Am I right to presume that currently this is not possible?
David A.
Top achievements
Rank 1
 answered on 17 Sep 2012
2 answers
536 views
Update & Destroy Button is Not Working in Grid.
When I Try :
------------------------------------------------------------
update: {
        url: function (employee) {
            return "api/employees/" + employee.Id
        },
        type: "POST"
    },
destroy: {
        url: function (employee) {
            return "api/employees/" + employee.Id
        },
        type: "DELETE"
    }
-------------------------------------------------
(on FIREFOX )  I got This ERROR >>>   TypeError : g is undefined at kendo.web.min.js : 8

(on Chrome)  I got This ERROR >>>
  1. Uncaught TypeError: Cannot read property 'data' of undefined kendo.web.min.js:8
    1. p.extend.setupkendo.web.min.js:8
    2. p.extend.createkendo.web.min.js:8
    3. o.extend._promisekendo.web.min.js:8
    4. jQuery.extend.Deferredjquery-1.8.0.js:1180
    5. o.extend._promisekendo.web.min.js:8
    6. o.extend._sendkendo.web.min.js:8
    7. o.extend.synckendo.web.min.js:8
    8. h.extend.removeRowkendo.web.min.js:8
    9. h.extend._editablekendo.web.min.js:8
    10. jQuery.event.dispatchjquery-1.8.0.js:3061
    11. jQuery.event.add.elemData.handle.eventHandlejquery-1.8.0.js:2677

What is the Solution? Help Me Please...

Adrian
Top achievements
Rank 1
 answered on 17 Sep 2012
0 answers
89 views
Hi all,

I'm trying to put a input text into the column header in order to enter the value for filtering instead of using the column menu.

Someone know how to do that?

Thanks in advance!

Esteban
Esteban
Top achievements
Rank 1
 asked on 17 Sep 2012
14 answers
211 views
Can this be moved to Mobile > General?

Hello all,

for our application (we are building one with 27 other students) and want to use kendoUI. But where to start? Since it is uploaded today and there is no proper documentation yet.

First try: a android <button> . But what do I do? $('button').kendoButton() ? Or what? I can't find it in the code since it's minimized and all the variables are minimized.

When will the docs be online?

Grtz
Kingsley
Top achievements
Rank 2
 answered on 17 Sep 2012
3 answers
376 views
Clicking the destroy command in my grid will automatically remove the row before regardless of whether or not the server accepts or rejects the transaction. Is there any way around this behavior? In particular, is there a way that I can bind the row removal to the success event for the data source?

Thanks.
Edmond
Top achievements
Rank 1
 answered on 17 Sep 2012
4 answers
493 views
Thanks for the addition of the CheckBoxes.  Here is an easy method to access the value using templates
This is a change to the example code.

1. change the template as follows...
<script id="treeview-checkbox-template" type="text/kendo-ui-template">
<input type="checkbox" name="checkedFiles[#= item.id #]" value="#= item.id #" />
</script>

2. You can access the value as follows...
   function showSerializedData() {
 var chkBox = $("#treeview input")
 var serializedData = chkBox.serialize()
                   .replace(/%5B/g, "[")
                   .replace(/%5D/g, "]")
                   .replace(/&/g, "&");
                 
 //get the value...
 var value = chkBox.val();
 //do something with it
                 
$("#checked-nodes").html(serializedData);
 }
   
In addition, you an auto check the box on node click as follows
function onSelect(e) {
     var checkboxes = $(e.node).find(":checkbox");
     if(checkboxes.length > 0)
          $(checkboxes[0]).prop('checked','checked')
                     
    //HINT: you can get the node text this way as well
    var nodeText =  e.node.outerText;
}


Enjoy.

Bruno
Top achievements
Rank 1
 answered on 17 Sep 2012
0 answers
100 views
I am trying to append an additional field to the AJAX Select response. This field will be used to populate additional information on the web page - it is not bound to the Grid.

I can easily append the field to the AJAX Select response  - but how would I intercept it  on the client-side using Javascript?

I have tried attaching an event listener to onDataBound - but data is always null.


Scott
Top achievements
Rank 1
 asked on 17 Sep 2012
1 answer
629 views
Hi,

I'm using the mobile UI and I have a listView set up to a JSONP URL for the dataSource.

This works great, I can pull to refresh, etc.

However, I want to find a way to alter the URL on a subsequent call and refresh/reload the data via JSONP. Is this possible at all?

For example, I have a data-init="loadList"

function loadList () { ... } # this sets up the kendo.data.Datasource and adds to kendoMobileListView({ ... });

If I call loadList again, it correctly refreshes the display by pulling the data over Ajax but it adds two "Press to load more" buttons at the footer and another "Pull to refresh" widget at the top. It seems to be adding rather than replacing.

Does this make sense? I basically need to alter the dataSource URL and pull again from the server programatically after a user action.
Matt
Top achievements
Rank 1
 answered on 17 Sep 2012
7 answers
334 views
I'm very new to using Kendo-UI, and still considering making the switch from jQuery Mobile. I'm wandering if it's possible to have a "light" theme for Android, as opposed to the default "very dark." I saw one post about a themeroller for Mobile in the works, but is it possible to change between some built in themes, or something like that?
moegal
Top achievements
Rank 1
 answered on 17 Sep 2012
0 answers
51 views
For some reason on both the Grid and the Listview controls when a second <TR> is added to a template, some Click Events stop working. Remove the Second <TR> and they all work again. Need to be able to add multiple Rows to the template.

Have created the following jsfiddle to demonstrate: http://jsfiddle.net/dbowles/56WAJ/

The buttons on the first 2 rows work and the rest do not, anyone know why? Because to me this seems like a really weird bug.
Darren
Top achievements
Rank 1
 asked on 17 Sep 2012
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
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?