Telerik Forums
Kendo UI for jQuery Forum
0 answers
128 views
Hi,

I'm trying  to bind multiple axis for stacked  bar chart.
Is it possible to show x axis series based on category axis(y)...?

Please find the below kendoui chart and silverlight chart images.
We have requirement to show chart as image2. Is it possible in kendoui..?

Kendoui chart(image1)



silverlight chart(image2)


Thanks,
Rajesh
Rajesh
Top achievements
Rank 1
 asked on 17 Oct 2012
3 answers
111 views
Hello guys,
I found a bug, when I tap on an item of listview to switch from one view to another, if during the transition of slide effect  I touch the view from below upwards, the view moves.
Is there a way to apply the preventDefault during the slide transition effect?
Alexander Valchev
Telerik team
 answered on 17 Oct 2012
5 answers
460 views
Simply put, I want to allow dragging items from one tree to another -- but prevent the moving of the dragged tree item to the destination tree.  

I want it cloned and put in the droppable place within the destination tree. Is there a simple event method or configuration setting I can use to accomplish this?
ICT
Top achievements
Rank 1
 answered on 17 Oct 2012
2 answers
114 views

I am working with the good example of Editing custom editor under the MVC examples.
 It shows how to build a dropdownlist for use when editing a cell in a grid.
 I have to create a new post in the grid and I add the following to the file; Editing_Custom.cshtml:
 

.Create(create => create.Action("EditingCustom_Create", "Grid"))

.ToolBar(toolBar => { toolBar.Save(); toolBar.Create(); })
 
And I already get an error here before I come to do the coding in the .cs-file.
 When debugging with firebug, I get an error from javascript that says: ReferenceError: EnrollTypes is not defined.
EnrollTypes is the class that is used for making the dropdownlist.
 Could someone please give me a hint on what I have to do when creating a post in a grid with relational data?
 
I saw in some forum that Foregin key will sove this problem, but in my case there is no key column which can be named as foreign key. I just want to have a dropdown in grid column and it should also appear when I click on Add New Item button. 
 
Regards,
 Nitin

Nitin
Top achievements
Rank 1
 answered on 17 Oct 2012
5 answers
352 views
Hi,

I have a simple splitter set up with two panes. Some navigation stuff in the left pane, and content on the right. The html is as follows:

<div id="koulutuspuuSplitter" style="height:500px;" >
    <div id="koulutuspuu"></div>
    <div id="koulutusPuuKomponentti"></div>
</div>

In document.ready I call

        $("#koulutuspuuSplitter").kendoSplitter({
            panes: [
                { collapsible: true, size: "350px" },
                { collapsible: true },
            ]
        });

After which the contents of the left pane are loaded by ajax. The contents of the right pane are not loaded until an item is clicked in the left pane. So it is empty for now.

The problem: When the page loads, the splitter bar appears on the left edge (to the left of the "left pane"). The left pane is loaded just fine, with its own scrollbar and everything. But in place of the right pane is just empty space, and clicking on an item to load contents doesn't fill it (so the pane is not where its supposed to be). Doing any kind of resize event (resize browser window, open firebug panel, etc.) causes the splitter bar to "jump" from the left, to its proper position in between the panes. After this jump, the right pane contents also show up properly.

Presumably there is just something I am doing wrong. Perhaps wrong order of operations? Perhaps the problem is that the panes have no content when splitter is loaded? Something else?
Dimo
Telerik team
 answered on 17 Oct 2012
1 answer
98 views
Implementing the Popup editing in this way:
          $("#gridAddresses").kendoGrid({
             dataSource: {
                 type: "json",
                 transport: {
                     read:  {url:'api/AddressInfo?type=customer&id=' + idEntity, type:'GET'},
                     update: {url:'api/AddressInfo', type:'PUT'},
                     destroy:{url:'api/AddressInfo',type:'DELETE'},
                     create: {url:'api/AddressInfo?idCustomer=' + idEntity, type:'POST'}
   },
                
                 pageSize: 3,
                 batch:false,                
                  schema: {
                                model: {
                                    id: "idAddressInfo",
                                    fields: {
                                        idAddressInfo: { editable: false },
                                        Description: {type:"string" },
                                        Address: {type:"string" },
                                        City: { type:"string"},    
                                        State: { type:"string"} ,                                 
                                        ZipCode: { type:"string"}                                       
                                    }
                                }
                            }
                
             },             
             toolbar: [{name:"create",text:"",width:20}],
             columns: [                                             
                            { field:"Description", title: "Description", width: "180px" },
                            { field:"Address", title: "Address", width: "200px" },
                            { field: "City", title:"City", width: "150px" },
                            { field: "State", title:"State", width: "90px" },
                            { field: "ZipCode", title:"Zip", width: "60px" },
                            
                            { command: [{name:"edit",text:"",width:20}, {name:"destroy",text:"",width:20}], title: "&nbsp;", width: "150px" }],
             editable:{ 
                mode: "popup"
              
             }
        });

Clicking in "Create" button a void "Edit" popup is shown (not a "Create" popup as I axpected)...
Clicking the "Update" on the popup dialog the PUT method is invoked instead PUSH... so the server persisting procedure fails.
What is the problem?
Sergio
Top achievements
Rank 1
 answered on 17 Oct 2012
4 answers
162 views
Hi, Sorry if this is a repost on my post, I apologies for that. Btw, I tried doing it myself, but the column does not submit itself when creating or editing. Can you please help me with this? PS: All columns are just examples. Please do not based on their respective names.


Here's the grid:

$("#grid").kendoGrid({
                       dataSource: dataSource,
                       pageable: true,
                       height: 340,
                       toolbar: ["create"],
                       columns:
                           [{"field":"firstName","title":"First name"},{"field":"nickName","title":"Nick Name","template":"#= kendo.toString(nickName,'MM/dd/yyyy') #"},{"field":"lastName","width":"150px","editor":lastNameEditor},
{"command":"destroy","title":" ","width":"110px"}]                            ,
                            
                       editable: true
                   });
               });

Here's the DataSource: 


  var dataSource = new kendo.data.DataSource({
                         
                                parameterMap: function(options, operation) {
         
        //alert(operation);
             return kendo.stringify(options);
                                    if (operation !== "read" && options.models) {
                                        return {models: kendo.stringify(options.models)};
                                    }
                                   
                                    },
                 
                transport: {
                     
         read: {
dataType: "json",
 type: "POST",
data: {"SQLCMD":"SELECT * FROM gridTest","Table":["firstName","nickName","lastName"],"PrimaryKey":"peopleID"}
},
         update: {
            type: "POST"
         },
         destroy: {
             type: "POST"
          },
          create: {
              type: "POST",
               data: {
                req: ["firstName","nickName","lastName"]                }
               
               
           }
         },
                
         // determines if changes will be send to the server individually or as batch
         batch: false,
         //...
 
 
                       pageSize: 30,
                       data: blankData,
                       autoSync: true,
                       schema: {
                           model: {
                             id: "peopleID",
                             fields:
                                {
"peopleID":{"editable":false,"nullable":true},
"firstName":{"type":"string","validation":"required":true},"nullable":false,"defaultValue":""},
"nickName":{"type":"date","validation":{"required":true},"nullable":false,"parse":function(value) { return kendo.toString(value) }},
"lastName":{"type":"string","validation":"required":true},"nullable":false}}                             }
                           ,  parse: function (data) {
        // alert(data);
            return data;
        }
                       }
                    });


Please, I hope you can help me. Thanks! 
James
Top achievements
Rank 1
 answered on 17 Oct 2012
2 answers
100 views
Hi,
I cann't see how to create a horizontal scroll in a grid. I am interested to create a scroll that grouped header and body the grid, but not the footer. Is this possible to do?
Adrià
Top achievements
Rank 1
 answered on 17 Oct 2012
1 answer
82 views
Hello,

Does anyone have a best practice solution for developing an application with e.g. 30 pages?
Many environments have common layouts reading in HTML fragments per page.
Are there solutions for that in Kendo UI?
Do I need 30 HTML pages or can I do something with e.g. the TabStrip loading partital content?

T.I.A.

Johan Borchers
Jens
Top achievements
Rank 1
 answered on 17 Oct 2012
0 answers
134 views
I am not using Telerik RadGrid.....
and my data is bounded to grid as

 @{Html.Telerik().Grid(Model)
            .Name("HistoryGrid").HtmlAttributes(new { style = "width:100%" })
            .ToolBar(toolbar => toolbar.Custom().ButtonType(GridButtonType.Image).ImageHtmlAttributes(new { style = " background-image: url('../../Content/images/clear-filter.png') !important" }).HtmlAttributes(new { onclick = "clearFilt(event)", title = "Clear All Filter" }))
            .DataKeys(keys => keys.Add(c => c.AssetID))
            .Columns(columns =>
            {
                columns.Bound(o => o.TableObject).Width(120).Title("Transaction");
                columns.Bound(o => o.TransactionType).Width(120).Title("Transaction Type");
                columns.Bound(o => o.UName).Width(120).Title("Updated by");
                columns.Bound(o => o.ColumnObject).Width(120).Title("Field Name");
            
               columns.Bound(o => o.DateofTransaction).Width(150).ClientTemplate("<#= toServerTime(DateofTransaction) #>").Title("Date of Transaction");
          
                columns.Bound(o => o.OldValue).Width(120);
                columns.Bound(o => o.NewValue).Width(120);
            })
            .DataBinding(binding => binding.Ajax()
                                       .Select("_History", "AssetInfo"))
          

            .Pageable(pager => pager.Style(GridPagerStyles.PageSizeDropDown | GridPagerStyles.NextPreviousAndInput))
            .Filterable(filtering => filtering.Enabled(true))
             .EnableCustomBinding(true)

            .Resizable(resizing => resizing.Columns(true))
            .Sortable(s => s.Enabled(true))
            .ColumnContextMenu()
            .Scrollable(builder => builder.Enabled(true).Height("100%"))
            .Selectable()
            .Render();
        }

and as of now am able to solve my UTC issue when I retrieve TIME along with DATE from Database and it is working fine.......

But now my problem is that the filter on the GRID datetime column is not working.....even though I has given time along with picking up the date from the calender......I need to get the filter by giving only Date, and the filtered values must be read based on Date only even-though, I show the Time in the grid. May I know how to solve the issue as soon as possible....Is there any simple solution I can find by simply changing the Telerik Scripts.... Am new to the usage of this product, please don't mind of giving me the detailed solution of solving this issue......

Thanks and Regards,
Jyotsna
Pothukuchi
Top achievements
Rank 1
 asked on 17 Oct 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?