Telerik Forums
Kendo UI for jQuery Forum
3 answers
133 views
hi,
how can I add a select or better a dropbox/combobox in a row template?

http://jsfiddle.net/mDHtW/3/

thanks
Petur Subev
Telerik team
 answered on 03 Sep 2012
6 answers
704 views
Hi,

I'm Using ListView MVC Wrapper and i want to prevent the first binding on page load

i try to use e.preventDefault() in the RequestStart of the DataSource Event of the ListView, this is not working
i cant fint .AutoBind(false) Like the DropDownList control Has....

i didnt find nothing in the documentation or forums both ListView and DataSource

Thanks
var g_firstLoading = true;
function ListView_RequestStart(e) {
if (g_firstLoading) {
e.preventDefault()
g_firstLoading = false;
return;
}
}
mo2011ti
Top achievements
Rank 1
 answered on 03 Sep 2012
1 answer
72 views
Hi,
 I am using Kendoui grid, in this i need to hide the field when it is in display mode,

But when i click on edit button it should show the column.

Example:-

In disaplymode it shows  6 column,

and in edit mode shows 7 columns.

Please send me related sample code.

Thanks in Advance.
durga bhavani
Top achievements
Rank 1
 answered on 03 Sep 2012
1 answer
196 views
When you want to filter a date field, it pops up the date picker and lets you select the date.
When you selected the date it displays 'MM/dd/yyyy' which I believe is the US format although I've set my locale to be en-AU. I checked my OS locale as well and the it's date format is dd/MM/yyyy which is Australian standard.
Could any one tell me what am I missing?

Thanks in advance,

I found similar thread that's not been answered. the link is 
http://www.kendoui.com/forums/ui/grid/problem-with-filtering-data-on-server-and-german-date-format.aspx 


Joon Choi
Atanas Korchev
Telerik team
 answered on 03 Sep 2012
1 answer
115 views
Hi,
I test a sample in it as follows 
http://jsfiddle.net/7WVqL/120/ 
List1 trigger click event ,e.dataItem has value.
But List2 hasn't.
How can i use list2 trigger click event to let e.dataItem has value?



Petyo
Telerik team
 answered on 03 Sep 2012
2 answers
57 views
I have found out that the popup editor example for the grids leaks resources. See the following sample:
http://demos.kendoui.com/web/grid/editing-popup.html 

It creates a new "k-window" object every time the "Edit" button is clicked. Thus clicking the Edit button and editing multiple items populates the DOM with many "k-window" nodes which are added and are not cleaned up. You can observe this easily by using the object inspector of Chrome or a similar tool. This could cause problems on a mobile browser with memory constraints. Surely Kendo should reuse the same kendo window each time or destroy the old before creating a new one? Can anyone suggest a workaround for this bug?
Atanas Korchev
Telerik team
 answered on 03 Sep 2012
0 answers
309 views
Hi there,
I have grid inside a TabStrip and the grid has a boolean column which is shown as checkbox... this is perfectly fine. But now my concern is even though my grid's editable property is set to true the check box is disabled. i tried adding the checkbox using a template column.
I am getting this error: Inline markup blocks (@<p>Content</p>) cannot be nested.  Only one level of inline markup is allowed. Below are the two ways i tried setting the checkbox column.
columns.Template(p => @<text><input type="checkbox" value="" #= @p.Approved?checked="checked":"" #  /></text>).Width(60).Title("").HeaderHtmlAttributes(new { style = "background-image:url(../../Content/ImagesAite/th_appr.png); " }).HtmlAttributes(new { style = "text-align:center" });<br>     columns.Bound(p => p.Approved).Width(60).Title("").HeaderHtmlAttributes(new { style = "background-image:url(../../Content/ImagesAite/th_appr.png); " }).HtmlAttributes(new { style = "text-align:center" });<br>
Also the alignment of the checkbox column is left aligned even though i set the text-align property of the column to center. Also i would like to know to fix the height of the grid rows.... is it possible to switch off word wrapping.... 

Thanks in advance
Sree Rachakonda
Top achievements
Rank 1
 asked on 03 Sep 2012
0 answers
97 views
Try to determine target cell editable or not based on its value

try to do it at edit event but do not know how to get target cell's original value

please help

code:


edit: function(e) {
var val = ;   // target cell's value
if (val = "-"){
         this.closeCell();
}
}


how to get val's value?
Alan
Top achievements
Rank 1
 asked on 03 Sep 2012
0 answers
118 views
Fixed.
Michael
Top achievements
Rank 1
 asked on 03 Sep 2012
4 answers
271 views
Hi!

It seems like the resize event for Splitter does not supply the pane that got resized, as documentation says.

E.g. a collapse event gives this to work with:
Object { pane=div#leftPane.k-pane, preventDefault=function(), isDefaultPrevented=function()}

While resize only this (note the absence of "pane"):
Object { preventDefault=function(), isDefaultPrevented=function()}


How can I get the size of pane and which pane got resized without this? Am I missing something?

Thanks!
/Jacob
Joe
Top achievements
Rank 1
 answered on 02 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?