Telerik Forums
Kendo UI for jQuery Forum
1 answer
516 views
HI :
I'm new on Kendoui, I have searching for a couple of days and I getting crazy, can someone help me to know how can I add a button, on each element of a Listview (PHP/Json) result, to open a modal window, where the customer can enter his reservation information, as Date, Adults and Childrens, here is my JavaScript code:
 

<script>
     $(document).ready(function() {
            var dataSource = new kendo.data.DataSource({
                    pageSize: 8,
                    transport: {
                        read: "tours_lista.php",
                             dataType: "jsonp"
                    },
                    schema: {  
                        data: "data",
                        total: "data.length"
                    }
                     
                });
 
            $("#pager").kendoPager({
                dataSource: dataSource,
                 
                 
            });
 
            $("#listView").kendoListView({
                dataSource: dataSource,
                   
                template: kendo.template($("#template").html())
            });
             
        });
</script>

Here is my HTML code :

<div id="intro" >
        <H3>TOURS</H3>
    <div id="listView"></div>
    <div id="pager" class="k-pager-wrap"></div>
    <script type="text/x-kendo-tmpl" id="template">
      <div class="product">
           <a class="t-link"  href="inicio.php?action=detalle&tourid=${recid}"><img  src="controlc/test/${main_pic}" title="Ver detalles de ${tit_esp}" /></a>
            <h3>${tit_esp}</h3>
            <dl>
                <dt>Adulto: </dt>
                <dd>$ ${rate_adult}</dd>
                <dt>Niño: </dt>
                <dd>$ ${rate_child}</dd>
                 
            </dl>
             <div style="text-align:right;float:right;border:0px solid red;padding-top:7px;padding-left:5px;width:250px;height:30px;">
             </div>
        </div>
    </script>
    </div>
     <!-- end .intro -->

Attached is an image that explain a little mor what I need to do. In advances, thank you !!

Hector
Nohinn
Top achievements
Rank 1
 answered on 07 Sep 2012
0 answers
50 views
Hi,

Cant see why this project isn't showing any data in my grid ? (bin folder removed due to size constraints)
Can anyone advise ?...

Thanks - Paul.
Paul
Top achievements
Rank 1
 asked on 07 Sep 2012
2 answers
254 views
Hello everyone!

What's the best mobile emulator either as a "Standalone" or Browser plugin? What do you use to test your mobile app against Android and iPhone simulation?

Thanks!
Kamen Bundev
Telerik team
 answered on 07 Sep 2012
0 answers
102 views
Hi,

 
       Kendo Grid Tag All, Just Tags the records of the Current Page.... It doesn't Tag all the Records...

i.e Suppose paging is enabled for a Kendo grid (per page 25 records and we have 250 records overall). Now if we click on a button tagAll, It just Tags the records in page 1 (25 records) not all the 250 Records....
How to overcome this scenario.

Currently... paging is done on client side... can the above issue be resolved using server side paging.. If yes, then how can we Implement a server side kendo grid paging along with tagging/Untagging all records.

                              Thanks in Advance
Jayalakshmi
Top achievements
Rank 1
 asked on 07 Sep 2012
0 answers
139 views
is there any way to use a time picker as a field on the grid editor?
Afterwards, is there any way to format the output?
tyler
Top achievements
Rank 1
 asked on 07 Sep 2012
0 answers
103 views

We are using kendo UI for a business web application and we have referenced latest internal build. We have a scenario that several Kendo Grids are hosted under different Kendo Tabs and all these Grids are editable. The Grids are rendered/worked perfectly with any desktop browsers, however, under Ipad Safari we found all Gridrows in all Grids are duplicated (rendered twice).

Are there any solutions for this?

 

Regards,

Gary

Gary Yu
Top achievements
Rank 1
 asked on 07 Sep 2012
0 answers
88 views
I'm using and Ajax data source and everything is working perfectly except that the paging information is not updating after a row is removed.For example 1 - 20 of 150 items does not change to  1 - 20 of 149 items after the destroy.

Even refreshing the grid after does not resolve the issue.

please let me know if you would like to see any code. Thank you
MelF
Top achievements
Rank 1
 asked on 06 Sep 2012
2 answers
175 views
I would like to add text to the far right of the menu, not a menu, just some information text.  Is this possible?
Lister Potter
Top achievements
Rank 1
 answered on 06 Sep 2012
1 answer
471 views
Hi,

I need to change the attributes of a grid  cell or row depending on some conditions. For instance I want to change the color of a cell or row or even make the editable fields of the row non editable.

How can I do that ???

Thanks in advance
mvbaffa
Top achievements
Rank 1
 answered on 06 Sep 2012
2 answers
293 views
I'm playing with the data source example with remote binding (http://demos.kendoui.com/web/mvvm/remote-binding.html), and trying to get this to work with ASP.NET MVC3.

So, in my transport of my DataSource, I have this:

update: {
	url: crudServiceBaseUrl + "Admin/UpdateProducts",
	dataType: "json",
	type: "POST"
},

In my Controller, I have this code:

[AcceptVerbs(HttpVerbs.Post)]
public void UpdateProducts(List<Product> models)
{
			
}

which gets called, but models is always empty.

How do I do this?
Ross
Top achievements
Rank 1
 answered on 06 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
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?