Telerik Forums
Kendo UI for jQuery Forum
3 answers
500 views
For my pie chart, I have turned off the highlight for the legend. How also can I change the cursor to default when the mouse hovers over the legend - since there is no highlight and no action when clicking on the legend item?

Thanks,
--Ed
Iliana Dyankova
Telerik team
 answered on 01 Apr 2015
1 answer
332 views
Hello,
i use kendo UI menu and use a menu only with icons like this ...

<ul id="menu">
   <li><i class="fa fa-user"></i>
      <ul>
         <li><i class="fa fa-xxxxx"></i></li>
         <li><i class="fa fa-xxxxx"></i></li>
         <li><i class="fa fa-xxxxx"></i></li>
      </ul>
   </li>
</ul>

I use icons from fontawesome.

Is there anyway to use tooltips using $("#menu").kendoMenu() ? 

Regards.

Jürgen



Iliana Dyankova
Telerik team
 answered on 01 Apr 2015
4 answers
793 views
I have ComboBox, with seted filter to "contins" and serverFiltering to true.
It is possible to clear previous filter (when user enter text into CB) ? because now user need to clear whole combo box to reset filter.
Georgi Krustev
Telerik team
 answered on 01 Apr 2015
1 answer
245 views
Hi,

I would like to handle saveChanges on grid myself as I want to send additional data to server. So far, this is what I have done:

var allData = stateMap.projectStaffDs.data();
var models = $.grep(allData, function (item) { // grab only dirty rows
        return item.dirty;
});
 
                  // save
                   var xhr = $.ajax({
                       type: "POST",
                       cache: false,
                       url: document.getBaseUrl() + "/Services/SaveStaff",
                       contentType: "application/json; charset=utf-8",
                       dataType: "json",
                       data: JSON.stringify({ data: models, workspace: "custom" }),
                       success: function(data) {
                           console.log("project staff saved");
                       },
                       beforeSend: function(xhr) {},
                       error: function (xhr, textStatus, errorThrown) {
                           console.log(errorThrown);
                       }
                   });

My concern now is, after I save changes on the server, how to update the DataSource locally so that if reflects no changes and that all changes saved?

More or less, I want to call "sync()", but would that update the datasource locally?

Thanks
Daniel
Telerik team
 answered on 01 Apr 2015
3 answers
557 views
I have a Parent Kendo Grid with a Child Grid in DetailTemplate. There is a column called InternalCode in Parent Grid that I want the value in Edit Template (popupEditorTemplate) of Child Grid in Detail Template. How can I do it? What is the Syntax?

@(Html.Kendo().Grid<UserStandardCodeType>().Name("grid")
.DataSource(dataSource => dataSource.Ajax().Read(read => read.Action("GetUserStandardCodesTypes_Ajax", "UserStandardCode")))
.Columns(columns =>
  {
      columns.Bound(usct => usct.InternalCode);
      columns.Bound(usct => usct.PresentationName);
      columns.Bound(usct => usct.Description);
  })
.ClientDetailTemplateId("client-template")
)

<script id="client-template" type="text/x-kendo-template">
    @(Html.Kendo().Grid<UserStandardCode>().Name("grid_#=Id#") 
    .Editable(editable => editable.Mode(GridEditMode.PopUp).TemplateName("popupEditorTemplate"))
          .Columns(columns =>
          {
              columns.Bound(usc => usc.InternalCode);
              columns.Bound(usc => usc.PresentationName);
              columns.Bound(usc => usc.Description);
              columns.Bound(usc => usc.IsEnabled);
              columns.Command(commands =>
              {
                  commands.Edit(); 
                  commands.Destroy(); 
              }).Title("Commands").Width(200);
          })
          .DataSource(dataSource => dataSource.Ajax()
              .Read(read => read.Action("GetUserStandardCodes_Ajax", "UserStandardCode", new { CodeTypeId = "#=Id#" }))
              .PageSize(2)
              .Model(model =>
              {
                  model.Field(usc => usc.CodeTypeId); 
                  model.Id(usc => usc.Id); 
              })
              .Create(create => create.Action("CreateUserStandardCode_Ajax", "UserStandardCode"))
              .Update(update => update.Action("UserStandardCodes_Ajax", "UserStandardCode"))
              .Destroy(destroy => destroy.Action("UserStandardCodes_Ajax", "UserStandardCode"))
          )
          .Pageable()
          .ToolBar(toolbar => toolbar.Create()) 
          .ToClientTemplate()
          )
</script>

Thanks
Boyan Dimitrov
Telerik team
 answered on 31 Mar 2015
5 answers
380 views
Hi Guys!

Im trying out with great interest the newly released kendo version v2015.1.318 and in the feature of grid exporting to pdf i somehow cannot see the title appearing in the resulting pdf file. As a matter of fact i cant see the pdf title appearing anymore for charts exports either. 
Im wondering is this a bug or feature?

Cheers!
Dimiter Madjarov
Telerik team
 answered on 31 Mar 2015
1 answer
210 views
Preface: We are using Kendo in Angular.

We have placed a range slider inside of a grid's column header.  The problem is that with grouping on, the slider does not slide when using Firefox and Chrome.  It does however work as before in IE 11.  

We did this by using a header template as so:
'<div class="slider-min">' + minText + '</div>' +
'<div class="slider" kendo-range-slider id="range-slider-' + id + '" k-options="slider' + id + 'Options" k-on-change="updateRange(kendoEvent, ' + id + ')" k-on-slide="updateRange(kendoEvent, ' + id + ')">' +
'<input/>' +
'<input/>' +
'</div>' +
'<div class="slider-max">' + maxText + '</div>'

I think that the problem is that when grouping is enabled, the column headers get a drag event that prevents said event from bubbling down to the drag handle. This is true even if grouping for that column is set to false.

It would be nice if this behavior can be confirmed and if a fix can be made to not attach the drag listener when groupable is false for a column.



Alex Gyoshev
Telerik team
 answered on 31 Mar 2015
1 answer
117 views

When I run ThemeBuilder on a page with Kendo controls, I get an empty panel (other than the title and close button at the top)

I tried it in Firefox and IE 11 also, same result.

Any ideas how to troubleshoot this?



Atanas Georgiev
Telerik team
 answered on 31 Mar 2015
1 answer
244 views
Hello,

I am trying to use exporting kendo chart as a TypeScript class to expose export methods across my application but both getKendoChart() and exportImage() (as does exportPDF and exportSVG) don't seem to be exposed.

Below is the JS I am trying to use  

var chart = $("#chart").getKendoChart();
chart.exportImage().done(function(data) {
kendo.saveAs({
dataURI: data,
fileName: "chart.png",
});
});

And below is the TypeScript file I am trying to create 
/// <reference path="../../scripts/typings/jquery/jquery.d.ts" />
/// <reference path="../../scripts/typings/kendo/kendo.all.d.ts" />
 
class KendoChartExporter {
    exportAsPng(id: string) {
        var chart = $("#chart").getKendoChart();
        chart.exportImage().done(function(data) {
            kendo.saveAs({
                dataURI: data,
                fileName: "chart.png",
                proxyURL: "http://demos.telerik.com/kendo-ui/service/export"
            });
        });
    }
}


Am I missing anything?

Thanks
Venkata
T. Tsonev
Telerik team
 answered on 31 Mar 2015
4 answers
547 views
Hi,

I am facing column re-sizing issues with Kendo Grid. While re-sizing the column, it is stretching too far.
You can have look at below example. Each column having some width.
http://dojo.telerik.com/eFEYI

can anyone help me?
Dimo
Telerik team
 answered on 31 Mar 2015
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
Drag and Drop
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
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?