Telerik Forums
Kendo UI for jQuery Forum
1 answer
231 views
I have a custom popup template attached to grid for edit and add. In the template I've a drop down (combo box) column. I can get it populated fine.
The problem is it always defaults to the first value. How can I get it to set to the value that was in the row being edited.

The combobox is defined like below
<input name="ProductType" data-source="myDataSource" data-text-field="productName"
                    data-value-field="productId" data-bind="value:ProductType" data-role="dropdownlist" />

The grid shows the "ProductType" column.

Thanks.
Just
Top achievements
Rank 1
 answered on 20 Aug 2012
1 answer
126 views
Hello,

I would like to ask for help with my D&D function...

Here is a Fiddle: http://jsfiddle.net/B5kJf/5/

Function D&D is implemented but I can't fix bug when you drop object to his original target. If you do it, object will split in two.

Please help me.
-David
David
Top achievements
Rank 1
 answered on 20 Aug 2012
2 answers
180 views
I was wondering how to hide the last column of the Kendo horizontal menu?
I think the last column is designed to expand dynamically to fill the horizontal row, but I didn't want the menu to expand to the end. Instead, I've want it to end at the end of my last menu item.(I've changed the menu's style Dispaly:inline-block to achieve this). And then there appears the last extra column at the end(right most) which is used to pad the remaining space in the horizontal line. How do I get rid of the last(extra or padding) column? 

Joon
Top achievements
Rank 1
 answered on 20 Aug 2012
3 answers
303 views
Say I have 4 comboboxes
Once a user selects something from all 4 I want to create a grid using a datasource based off the choices they selected...

Example video included :)

in the change event on the last combobox I am making an alert box pop up witht he values chosen in it

Can I just create the grid in that change function?
Petur Subev
Telerik team
 answered on 20 Aug 2012
3 answers
193 views
I always feel that the detail buttons (http://demos.kendoui.com/mobile/listview/detailbuttons.html ) are just too small to click on.
Every time I click on the button on the iPhone, the hit ratio is only 50% for me :p.
Any solution for this? As I have swipe events attached to the list item, I don't want to make the whole row clickable but just the detail button. I know that I have a workaround such as that I can add buttons (km-button / data-role="button") as well but then what's the use of detail buttons? Perhaps, I might be doing something wrong here or there's easy tweak I can make or something?

<ul>
<li>
<a id="#= ProductID #" href="\\#service_info?id=#= ProductID #" data-role="detailbutton" data-style="detaildisclose"></a>
</li>
</ul>
Kamen Bundev
Telerik team
 answered on 20 Aug 2012
0 answers
88 views
Hello,

in my scenario i need to get data from server every time when user expands the node.
Based on this working example i could manage to add some additional "static" parameters to the request by using "parameterMap". Those are sent while each expand-request and handled by the server.

var dataSource = new kendo.data.DataSource({
     transport
: {
       read
: "Catalog/Titles",
       parameterMap
: function(data, type) {
         
return {
             request_goes_to : responsible_server_control_id
          }
       
}
     
}
 
});

But what i need to do is:
Each node must hold some values apart from their ids which must be sent to server while expanding these nodes.
Is there a way to force nodes to hold other values than text and id? In my application it is not possible to populate childs of an object only using its id.

thanks in advance,
Koray.

Koray
Top achievements
Rank 1
 asked on 20 Aug 2012
2 answers
160 views

Hello,

I've made and example here  http://jsfiddle.net/gmocnik/tXEwV/2/. The problem is the clientside sorting does not work for characthers like (č, ž, š). The second thing is, that in documentation is written "Refresh method redraws the grid using the current data of the DataSource.", but if you turn autoBind parameter to false and call grid.refresh(), nothing happens, is that OK?

Thank you in advance for help.

Gregor
Top achievements
Rank 1
 answered on 20 Aug 2012
0 answers
272 views
Hi All,

I want to sort my kendo grid columns only in "ascending" or "descending" order how can achive this.
i used below possible configurations. but i didn't get the expected behaviour.
1) "sortable: true" 
2) sortable: { mode: 'single' }, 
3) sortable: { mode: 'multiple' },


Thanks,
Praneeth.
Pra
Top achievements
Rank 1
 asked on 20 Aug 2012
0 answers
102 views
Hi all, how I can render grid in template?
Thanks.
Marat
Top achievements
Rank 1
 asked on 20 Aug 2012
0 answers
104 views
please remove
ls
Top achievements
Rank 1
 asked on 20 Aug 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?