Telerik Forums
Kendo UI for jQuery Forum
5 answers
146 views
Is it safe to initialize a panel bar multiple times?  For example, could I do this?

$('#panelBar').kendoPanelBar();
 
// ... later after dom update ...
 
$('#panelBar').kendoPanelBar();
Robert Bross
Top achievements
Rank 1
 answered on 09 Nov 2012
2 answers
479 views
Hello,

I am having some issues with the kendo Grid.

1. icons in the grid are not displaying filter icons next to header and next prev icons in the pagination
2. grid basic functionality not working like sorting, grouping etc.

Regards,
Ravi

code:

@{Html.Kendo().Grid((List<BNYM.EnSIS.Pricing.Contract.VendorPricingGridResponse>)ViewData["PricingGrid"])
.Name("PricingGrid")
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(25)
.Batch(true)
.ServerOperation(true)
.Model(q => q.Id(m => m.ProductID))
.Model(q => q.Id(m => m.CurrencyCode))

)

.Columns(columns =>

{
columns.Bound(m => m.Category).Title("Category").Width(90);
columns.Bound(m => m.ProductID).Title("ProductID").Width(140);
columns.Bound(m => m.CurrencyCode).Title("USD").Width(50);
})

.Resizable(resizing => resizing.Columns(true))
.Scrollable(scrolling => scrolling.Enabled(true).Height(600))
.Sortable(sorting => sorting.Enabled(true))
.Groupable(grouping => grouping.Enabled(true))
.Filterable(filtering => filtering.Enabled(true))
.Reorderable(reorder => reorder.Columns(true))
.Pageable(Pageable => Pageable.Enabled(true).PreviousNext(true).Input(true).PageSizes(true).Refresh(true))
.RowAction(row => row.HtmlAttributes.Add("data-id", row.DataItem.ProductID))
.RowAction(row => row.HtmlAttributes.Add("data-id", row.DataItem.CurrencyCode))
.Selectable(s => s.Mode(GridSelectionMode.Single).Enabled(true))

 
.Render();

}

Ravi
Top achievements
Rank 1
 answered on 09 Nov 2012
1 answer
1.0K+ views
I know how you can set the title of a chart when you first create it:

$("#chart").kendoChart({
    title: {
        text: "Players in Error"
    },
   /* etc */


but is there any way to change it afterwards?

I've tried this:

var chart = $("#chart").data("kendoChart");
chart.title = { text: kendo.toString(queryDate, "dddd MMMM d, yyyy") };
chart.refresh();


but it doesn't have any effect.


Iliana Dyankova
Telerik team
 answered on 09 Nov 2012
0 answers
143 views
Hi all,

i'm using the latest Community version of Kendo UI Web and i'm trying to destroy a grid with method destroy, but i always get

Uncaught TypeError: Object [object Object] has no method 'destroy'
I search the sources but i cannot find that method...

Maybe in the community version there is no method destroy?

Thanks for your replies!
Marco
Top achievements
Rank 1
 asked on 09 Nov 2012
1 answer
219 views
Hi,

is it possible to remove the bottom border only on the selected item in a menu (something like in tabstrip)?

Thank you
Matteo
Top achievements
Rank 1
 answered on 09 Nov 2012
2 answers
153 views
I'm having an issue where clicking the Back button causes the slide animation to occur twice.  I've been able to reproduce the error in a simple example, please see the following jsFiddle:

http://jsfiddle.net/Jjvm7/

If you click "Go to next page" on the first two pages, then click the "Back" button on the last page, you'll notice that the animation happens twice before displaying the second page again.

Any ideas?
Petyo
Telerik team
 answered on 09 Nov 2012
1 answer
159 views

Greetings.

I have the following problem, I want to load data into a ComboBox in my service WCF (. Svc). But not charging anything, the only difference I see is the one you selected in the attached images.

The difference is in the type:
In the example website <text/javascript>
In my website <application/xml>

The result running on the website. It is the image (servicio de ejemplo)
Sample code:

<script>

                $("#categories").kendoComboBox({

                        placeholder: "Select category...",

                         dataTextField: "CategoryName",

                        dataValueField: "CategoryID",

                        dataSource: {

                            type: "odata",

                            serverFiltering: true,

                            transport: {

                read: "http://demos.kendoui.com/service/Northwind.svc/Categories"                                

                            }

                        }

                    });

</script>


The result running on the website. It is the image (mi servicio)
My code:

<script>

                $("#categories").kendoComboBox({

                        placeholder: "Select category...",

    dataTextField: "Status",

                        dataValueField: "AcquisitionNo",

                        dataSource: {

                            type: "odata",

                            serverFiltering: true,

                            transport: {

            read: "http://192.168.0.125/SAGDataService1.svc/vwInventoryHeader"

                            }

                        }

                    });

              </script>


It gives me no error just not charge me anything.
I need help please
thanks



Jayesh Goyani
Top achievements
Rank 2
 answered on 09 Nov 2012
0 answers
118 views
1. We have the following chart looking like stairs:
http://jsfiddle.net/fyJys/318/
Looks ok.

2. And we want to add another column(x=3) to the stack that has the same value all over the data:
http://jsfiddle.net/fyJys/319/
Ta-dam! The stairs is broken! 

3. And now it is time for some magic. Let's move the last item of the first row of the stacks right before the second item (move value of "5" after "1" within x="1"):
http://jsfiddle.net/fyJys/320/
And we have it look the way we intended in 2 step

4) Ok, lets remove 2 stacks from the 2 step:
http://jsfiddle.net/fyJys/321/
The stairs also looks as expected.
Vladimir
Top achievements
Rank 1
 asked on 09 Nov 2012
8 answers
1.1K+ views
Is it possible to show multiple columns in the combo box?  For example if I want to show a list of users with user name, first name and last name.  Is that possible?
VINO
Top achievements
Rank 1
 answered on 09 Nov 2012
3 answers
2.2K+ views
Hi, I'm a novice in Kendo. I need format a number (show only two decimal places) but i don't find in the documentation how to do this... can anyone help ????

{ field:"potencia", title:"Potencia", template: ' ????? ' }
Marianne D
Top achievements
Rank 1
 answered on 09 Nov 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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
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
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?