Telerik Forums
Kendo UI for jQuery Forum
1 answer
1.0K+ views
I have defined editable as:
editable: {
    mode: "inline",
    update: false,
    destroy: false
},


my column as:
command: [
    {
        name: "edit",
        text: {
            edit: " ",
            update: " ",
            cancel: " "
        },
        click: clickEdit
    },
I want to tie into when the "cancel" button is clicked but I have not found a way.  Tying to the grids "cancel" event never fires . This seems odd because the "edit" and "save" events do fire as expect...just not the cancel.

Technically I need to run code every time the grid goes into edit mode, and every time the grid leaves edit mode. Is there another way besides the grid events? Why isn't the cancel event firing? Can I attach to the cancel click like the edit click? If so how.

On another note, can you prevent a row from leaving edit mode?
Alexander Valchev
Telerik team
 answered on 06 Nov 2013
1 answer
109 views
Hi,
template for collection update only for first push.
Click add button and only first time template rerender.
http://jsfiddle.net/gDVwS/1/

Thank
Alexander Valchev
Telerik team
 answered on 06 Nov 2013
3 answers
359 views
I need to display a tool tip over every date picker in my system
The tooltip displays the date in a Hebrew notation 
Therefor I need to set the content of the tooltip dynamically as a function of the date picker value

I tried setting a dynamic content to a tooltip but failed. It looks like the content is set on first display.

1.  Please see my code. What am I Doing wrong?
2.  Is there a way to attach the tooltip to the date picker instead of its “input” element?
3.  How can I extend this behavior to all date pickers not having to rewrite this code

<div id="tooltip" class="k-rtl" style="width:150px;border:1px solid red">
            <input id="datepicker" value="10/10/2011" style="width:150px;" />
 </div>
 <script>

        $(document).ready(function() {
            dp = $("#datepicker").kendoDatePicker({});
            var tooltip = $("#tooltip").kendoTooltip({
                 animation: {
                   close: {
                        effects: "fade:out",
                        duration: 500
                   },
                    open:{
                       effects: "fade:in",
                       duration: 500
                    }
                },

                autoHide: true,       
                showAfter: 1000,
               position: "left",               
                filter: "input",
               width: 300,       
               content: function (e) { return dp.data("kendoDatePicker").value() }
            }).data("kendoTooltip");

            //this row doesnt help  
             dp.change= function(){tooltip.content( dp.data("kendoDatePicker").value())}
        });

        //this row does alert the correct value        
         $(document).dblclick(function () { alert(dp.data("kendoDatePicker").value()) });

    </script>
Dimo
Telerik team
 answered on 06 Nov 2013
6 answers
68 views
*EDIT* The title should be "Remote view reloaded and added to DOM on each visit" but I can't edit the post title.

I am currently experiencing some dreadful behavior where each time I navigate to a remote view the entire contents are re-requested and added to the DOM. I am working on an app with several remote views and each time I transition from one to the other and back the state is lost because the entire contents are added to the DOM again (rather than just showing the view that was already loaded). 

I am using both app.navigate("path.to.remote.view"); and <a href="path.to.remote.view"> and the behavior is exhibited in both cases. I have no request params, the urls are identical each time.

I am guessing there is something fundamental and simple at the root, but I can't resolve this issue.

Thanks
Kiril Nikolov
Telerik team
 answered on 06 Nov 2013
2 answers
157 views
Hello

This is a very simple question. How can I get the max value from the Y-Axis on a bar chart?
I found a solution on the forum that say I could use chart._plotArea.valueAxis.range().max, but it returns 1.2 and the max value is 14. (See the image)

-Casper
Casper
Top achievements
Rank 1
 answered on 06 Nov 2013
2 answers
75 views
Hi Guys,

I have found a weird behavior on iPad2/iOS7 on Landscape only: the bottom of the tabstrip is cropped. See screenshot attached.
Live URL is:
http://www.semiconductorconnect.org/kendo/

However: when you switch from Landscape to Portrait: the tabstrip is displayed properly.

Regards.
Chris @ Willows Consulting Ltd.
Top achievements
Rank 1
 answered on 06 Nov 2013
4 answers
480 views
Please help me How Can i drag and drop Items ( multiple ) from one Listview to another
nasir
Top achievements
Rank 1
 answered on 06 Nov 2013
6 answers
230 views
A simple upload .. almost most of the code copied from the example provided by Kendo ..
But wont work.. will error after uploading..

http://codeviewer.org/view/code:37e3

This wont work on a .aspx file not in a html..
What am i doing wrong?
Dimiter Madjarov
Telerik team
 answered on 06 Nov 2013
9 answers
2.3K+ views
So I currently have the following grid that is placing a link on the value of the first table cell...  I would like the entire row to be clickable to that URL... how do I do that?

@(Html.Kendo().Grid<WorkList>()
                            .Name("AllLists")
                            .DataSource(ds => ds.Ajax()
                            .Read("AllListsData", "Workdriver")
                            .PageSize(100))
                            .Columns(c =>
                                {
                                    c.Bound(w => w.ListName).Title("List").ClientTemplate("<a href='" + Url.Action("List") + "/#=ListId#'>#:data.ListName#</a>");
                                    c.Bound(w => w.ListDescription).Title("DESCRIPTION");
                                    c.Bound(w => w.CountOfAccounts).Title("NUMBER OF ACCOUNTS");
                                })
                            .Sortable(s => s.SortMode(GridSortMode.MultipleColumn))
                            .Groupable(g =>
                                {
                                    g.Messages(m =>
                                        {
                                            m.Empty("Drag Column Header Here to Group");
                                        }
                                    );
                                }
                            )
                            .Pageable(p => p.Input(true).Numeric(false))
                            .Filterable()
                        )
Dimiter Madjarov
Telerik team
 answered on 06 Nov 2013
1 answer
101 views
Hello,

The Kendo widgets are very impressive overall, but I’d like to share some critical observations of the grid filterable functionality:
      
  1. When setting a filterable property such as extra: false, all columns are automatically assumed to be filterable. This reverses the default (and preferred behavior) of explicitly applying filterable: true on the column.
  2. The only way to remove unwanted operators is indirectly, via specifying the text for each operator that should be in the list. Furthermore, this has to be done per data type.
  3. The filterable customization functionality and the column filterable IU functionality do not work well together. This is evident in the filter customization demo. The City filter uses a  dropdownlist widget and the default operator is “Starts with”, which makes no sense in this context.
  4. When using a filterable UI with dropdownlist or autocomplete it is invariably the goal that the list of allowed values be the distinct set of values from the results in the column, but the current functionality requires use of an external data source.
The impression I get is additional filtering capabilities have been bolted on without refactoring existing functionality. Perhaps I am wrong, and I am happy to be corrected if I am understanding the functionality incorrectly. Otherwise, perhaps you can consider revising the current filterable behavior in a future release.

Thanks,
Gary
Vladimir Iliev
Telerik team
 answered on 06 Nov 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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
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
Licensing
ScrollView
Switch
TextArea
BulletChart
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
TimePicker
FloatingActionButton
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
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?