Telerik Forums
Kendo UI for jQuery Forum
2 answers
144 views
Hello, I would like to disable the animation on the grid pop row editor. I notice there is an option to do this on other widgets, and I am wondering if the same exists for the kendo grid. Is this possible?
Zachary
Top achievements
Rank 1
 answered on 24 Feb 2014
2 answers
98 views
I have a simple Kendo AppBuilder project with 1 Local and 2 Remote Views. The 1st Remote View is in a SubFolder. 

The OnInit Event is supposed to fire once only, however on the 1st View it fires every time I navigate to it. If I move it out of the Sub Folder it seems to work as the documentation suggests (Init fires once only)

Why is this?

You can download the complete AppBuilder code here:   https://dl.dropboxusercontent.com/u/12105891/TestRemoteViews.zip

Rodney
Top achievements
Rank 1
 answered on 24 Feb 2014
6 answers
93 views
Hello,

I'm having trouble getting kendo Grid with a dynamic object type, or another object allowing me to contain any number of columns, so ordinances or fields keyValue pairs (side server or client, I prefere server side)

Here is the list of features I need already today:
Columns:
add column, (type numeric, date, string  values) 
remove column,

Rows:
edit/update row (InCell or onpopup...),
add row,
remove row,


Thanks,








Atanas Korchev
Telerik team
 answered on 24 Feb 2014
1 answer
220 views
Hello,

According to the docs, ActionSheet on iOS works like a modal dialog, clicking outside of it will not close the ActionSheet. However, I tried it on iPhone/iPad, it will close even it was clicked outside any selection buttons.

Anyway, my question is how to know if the ActionSheet is closed. There is a Close event, but it is only triggered if the Cancel button is selected. If you click outside to make the ActionSheet closing, the Close event will not be fired.

http://jsbin.com/yumiw/1/edit

Please help! Thansk!
Petyo
Telerik team
 answered on 24 Feb 2014
1 answer
101 views
I have a grid with a ComboBox:

[...]
.Columns(c=> {
     c.ForeignKey(o => o.Item, (IEnumerable<MyIdValueClass>)ViewBag.FK_Items, "Id", "Value").EditorTemplateName("ComboBox");
[...]

public class MyIdValueClass
  {
    public string Id { get; set; }
    public string Value { get; set; }
  }

Template Code:
@(Html.Kendo().ComboBox()
    .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(""))
    .BindTo((SelectList)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"])
)


Whenever I type in a new entry (not selected from the dropdown) and click Update, the entry is saved into the database properly, but it shows up blank in the Grid.  If you subsequently click Edit, the value appears so that you can edit it.  Click Update or Cancel and it is still blank.  Only after refreshing the page will the value show up properly.  Entries selected from the dropdown list display properly.  How can I get the typed entries to display properly?

Thanks in advance,
Gary

Alexander Popov
Telerik team
 answered on 24 Feb 2014
2 answers
486 views
We have a requirement in our product that a numerictextbox, set to currency mode, must be able to be a different culture than the culture of the page.

For example, most of our product will be kendo.culture("en-US").  However, I will have a currency input on the page whose culture needs to be "de-DE".

Is there a simple way of controlling a single control's culture?

Thanks,
Kyle
Kyle
Top achievements
Rank 2
Veteran
Iron
 answered on 24 Feb 2014
2 answers
339 views
Is it possible to use model binding on layouts? We have a header navbar in the layout and we need a custom back button for some views that get loaded into the layout.

Is there a way to use binding in a layout or some other way of tackling this problem using the MVVM way?

I have tried using layout show events and such to try to bind a layouts viewModel to the layout programmaticaly. It did not seem to work.

We are using Kendo UI Mobile in AppBuilder.
Bogdan
Top achievements
Rank 1
 answered on 24 Feb 2014
4 answers
218 views
Hi, I am having problem with editing date in grid. Date is stored in DB as SQLite type, it is shown in select result as yyyy-MM-dd. I have already some data in DB from my other project and I used this function in SQL to store date
"...Date = STRFTIME('%Y-%m-%d', '?')..."
Kendo UI Grid shows date as yyyy-MM-dd so I change the format to:
{ field: "TestDate", title: "Datum", template: "#= kendo.toString(kendo.parseDate(TestDate, 'yyyy-MM-dd'), 'dd.MM.yyyy') #" }
When I try to edit row, the DatePicker value is empty. Doesn't show the value from TestDate column and the DatePicker is set to "now" date. When I change the date and click on Update nothing happend. I can see new value in grid, but the edit window is still open and I get bact the old value after refresh .
Update function:
function update(db, model, callback)
{
  db.transaction(function (tx)
  {
    tx.executeSql("update Costs set Amount = ?, Date = STRFTIME('%Y-%m-%d', '?'), CostTypeId = ?, CurrencyId = ?, CountryId = ?, Description = ?, CZK = NULL where Id = ?",
                  [model.Amount, model.TestDate, model.CostTypeId, model.CurrencyId, model.CountryId, model.Description, model.ID], function (tx, result)
                  {
                    callback([]);
                  });
  });
}

So my question is:
1. How to set DatePicker value to date which I am editing when the edit window popup?
2. Which date format I should use to select, update and insert data to WebSQL and where and how I should do that.

Thank you for your answer :)
Martin
Top achievements
Rank 1
 answered on 24 Feb 2014
6 answers
54 views
Hi,

Is kendo MVVM Framework compatibile with IE 9 and lower versions? My sample app works fine with IE10 and Chrome  33 but bindings are not applied in IE9.

Thanks,
Mahesh
Mahesh
Top achievements
Rank 1
 answered on 24 Feb 2014
1 answer
831 views
Hello, Telerik Team 

I am working on Kendo DatePicker control in MVC 4.0, and we have to culture in the application. 1) en-US and 2) ar-SA.

    It is working fine for en-US but when I set culture as ar-SA, DatePicker change date as per culture in UI it is fine for me while in MVC controller side Model's Date-time property giving same date as UI.  for e.g  01/Feb/2014 is display as 01/04/35(dd/MM/yy) in ar-SA. 
Now , I  won't to save only en-US date like 01/Feb/2014 in database side.
   One more issue(for ar-SA) in UI date format "dd/MMMM/yyyy" is not able to post the form action, I have also checked        $("form").kendoValidator().data().kendoValidator.validate() it is true. 

please provide your suggestion as soon as possible, it is argent for us. 

Thanks
Padman
 
Atanas Korchev
Telerik team
 answered on 24 Feb 2014
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
Iron
Iron
Sergii
Top achievements
Rank 1
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
Iron
Iron
Sergii
Top achievements
Rank 1
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?