Telerik Forums
Kendo UI for jQuery Forum
0 answers
309 views
It took me a while to figure this out, so I thought a post here about it wouldn't hurt. I really think this should be a parameter in the grid.
In my version (2012.2.710.340), when Im editing a cell, the marker places itself on position 0, before the value. Because of this, the user has to manually select and delete the value of the textbox before entering anything. Since we're all a bunch of lazy bastards, this just won't work :). When I click a cell, I want the value to be selected, so that I just start typing to replace it.

To achive this, just add a hook on the "edit"-event like this.

<script type="text/javascript">
    $(function () {
        // get a reference to the grid
        var grid = $("#@gridname").data("kendoGrid");
 
        grid.bind("edit", function (e) {
            e.container.find("input").select();
        });
    });
</script>
Pär
Top achievements
Rank 1
 asked on 06 Nov 2012
0 answers
98 views
Hello,

I am binding the grid with the help of Viewdata. And when I update the View data it is not getting updated to the Grid, it is showing only the previous data. this is happening even for the dropdownlist also. what is the probelm in my code? please find my code below.

@{Html.Kendo().Grid((List<BNYM.EnSIS.Pricing.Contract.VendorPricingGridResponse>)ViewData["PricingGrid"])
.Name("PricingGrid")
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(25)
.Batch(true)
.ServerOperation(true)
.Model(q => q.Id(m => m.ProductID))
.Model(q => q.Id(m => m.CurrencyCode))

)

.Columns(columns =>

{
columns.Bound(m => m.Category).Title("Category").Width(90);
columns.Bound(m => m.ProductID).Title("ProductID").Width(140);
columns.Bound(m => m.CurrencyCode).Title("USD").Width(50);
})

.Resizable(resizing => resizing.Columns(true))
.Scrollable(scrolling => scrolling.Enabled(true).Height(600))
.Sortable(sorting => sorting.Enabled(true))
.Groupable(grouping => grouping.Enabled(true))
.Filterable(filtering => filtering.Enabled(true))
.Reorderable(reorder => reorder.Columns(true))
.Pageable(Pageable => Pageable.Enabled(true).PreviousNext(true).Input(true).PageSizes(true).Refresh(true))
.RowAction(row => row.HtmlAttributes.Add("data-id", row.DataItem.ProductID))
.RowAction(row => row.HtmlAttributes.Add("data-id", row.DataItem.CurrencyCode))
.Selectable(s => s.Mode(GridSelectionMode.Single).Enabled(true))

 
.Render();

}



Regards,
Ravi
Ravi
Top achievements
Rank 1
 asked on 06 Nov 2012
0 answers
72 views
This is something KendoUI needs. Sencha has a very nice showcase gallery with various apps made with their Touch framework.

I think KendoUI would benefit from some more marketing in general. I sent 2 emails with ideas on how to promote Telerik in my City but didn't even get a response, a bit of a bummer If I may say so. I think this is a great framework that needs more exposure. I will at least write a Case Study soon :).

Marcus
Top achievements
Rank 1
 asked on 06 Nov 2012
2 answers
156 views
Hi telerik Team,

i have created Kendo UI Grid with dropdownlist column. In that Grid i have used GridEditMode.PopUp. While click Edit buttion popup is not populate with Dropdownlist values.

Need your advice to proceed further.
Arun Kumar
Top achievements
Rank 1
 answered on 06 Nov 2012
0 answers
71 views
We have a page that displays statistics for a month. When you go to the page the main heading is November 2012 (or whatever month is selected).

What would be the best way to use the datepicker to allow the users to click the date and get the drop down, to select months?

I don't want the h1 to be an input.
Temp
Top achievements
Rank 1
 asked on 06 Nov 2012
4 answers
1.0K+ views
How to you adjust the size of a kendowindow on the fly via javascript after its already been created and is visible?
Mark
Top achievements
Rank 1
 answered on 06 Nov 2012
0 answers
108 views
Hi,

          How do I run  my app the same as your simulator to test it?  The same as your DEMO pages with a simulator on different phones.  I need to test it.

         Please let me know.

Thanks,
Core
Core
Top achievements
Rank 1
 asked on 05 Nov 2012
3 answers
180 views
I think I have found a bug in the dropdownlist demo:

http://demos.kendoui.com/web/dropdownlist/index.html

Tested with chrome. If you click on the dropdownlist control, the list shows up, now while the list is open, switch to another Chrome tab and then come back. Now the control acts weird, when you click on it it opens and closes immediately.

So if you switch tab while the dropdownlist is open, somethign breaks.

Jack
Top achievements
Rank 1
 answered on 05 Nov 2012
0 answers
103 views
I have this bug in Telerik ASP MVC extensions but apparently Kendo UI inherited it from MVC extensions
Steps to reproduce:

1) go to http://demos.kendoui.com/web/editor/api.html
2) set value 
<div style='background-image:url(http://demos.kendoui.com/content/shared/styles/sprite.misc.png)' >test</div>
3) click get value button

Expected value is
<div style='background-image:url(http://demos.kendoui.com/content/shared/styles/sprite.misc.png)'>test</div>
but instead we get 
<div style="background-image:url(http;">test</div>



Marcin
Top achievements
Rank 1
 asked on 05 Nov 2012
2 answers
105 views
Disclaimer. While this post is done here I think this idea applies to all Telerik Products.

Most of us here are Coders and not Designers. There are however tons of good designers around so I thought Telerik could try something I thought of.

Maybe you guys have heard of the Site Themeforest and it's sister sites. This is a great resource for us who are design handicapped (somewhat at least).

So this is my idea.
Why not encourage all those great designers to create themes not only for KendoUI but also WPF etc? I think we could get some amazing stuff if the designers were given some good incentives (ie money). Maybe a joint push from Telerik and the men behind Themeforest?

Also. Why not have some popular themes for the mobile theme designer, ie themes made by others like you get in JQuery Mobile and JQuery UI?

Some ideas for Telerik and the Community to think on.
Marcus
Top achievements
Rank 1
 answered on 05 Nov 2012
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
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
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
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?