Telerik Forums
Kendo UI for jQuery Forum
3 answers
1.6K+ views

I am using Kendo grid with angular js. In some cases the data in grid is long text like "New, Initial Auto-Polling Config, Auto-Polling " or greater in length. I want all data to be displayed the data is getting trimmed down and ellipsis getting added making above text as "New, Initial Auto-Polling Conf.."

Also the inner HTML dooesn't have the original text.

Please help me best possible solution to display the text

 

 

 

Viktor Tachev
Telerik team
 answered on 21 Apr 2020
4 answers
543 views

I'm loading Kendo Grid in a modal window over the same HTML element. The grid has grouping implemented on it.

Now when I try to collapse the rows it works first time, but when I try to close the modal and re-open another kendo grid which is again on the same HTML element  the collpase button does not work. it will work the 3rd time i.e. it works every alternate times I open the window

Things I haved tried so far

Clearing html before grid initialization

Destroying kendo grid before initialization

Any help will be appreciated.

Muhammad
Top achievements
Rank 1
Iron
 answered on 21 Apr 2020
3 answers
177 views

as you can see here:

https://dojo.telerik.com/OrOqOHaV

If I create a grid from a table the pager doesn't work correctly ("No items to display")

Is i init the grid from div element the pager works perfectly.

some hint, please?

many many thanks

 

Nikolay
Telerik team
 answered on 21 Apr 2020
1 answer
841 views

Hello
I need to switch eventTemplate of week view after clicking custom button between 

var smallEventTemplate = `<div class="k-event-template">#: title #</div>`;

var bigEventTemplate = `
<div class="k-event-template">
  <p>
      #: kendo.toString(start, "hh:mm") # - #: kendo.toString(end, "hh:mm") #
  </p>
  <h3>#: title #</h3>
  <p>#: description #</p>
</div>`;

Together with that, I need to change event slot height according to size of template. The problem is I can't find how to change eventTemplate programmatically and I can't see opportunity to change event slot of week view. Can you help me with this issue, please?
Petar
Telerik team
 answered on 21 Apr 2020
10 answers
259 views

AutoComplete for Kendo UI

Prevent Custom Input
A new article on how to allow only existing values in a Kendo UI AutoComplete widget.

Change DataSource Dynamically
A new article on how to dynamically change the DataSource based on user selections made through radio buttons in a Kendo UI AutoComplete widget.

Sanjay
Top achievements
Rank 1
 answered on 21 Apr 2020
3 answers
192 views

We have a stacked area or line chart in which the categoryAxis is a date.  In each series, values are aggregated (summed).

We are wanting to implement an export to CSV of the data which makes up the displayed chart. I've looked through all of the chart options, but cannot find a way to get those aggregated series values. 

Is there any way to do this without having to write my own aggregation logic?

 

 

Tsvetomir
Telerik team
 answered on 20 Apr 2020
3 answers
956 views

Hello,

 

When we do a search with an "and", in the table where we see the active filter, there is only one that appears. Is it possible to duplicate the line to have the two pieces of information combined?

 

Thanks for your help!

Nikolay
Telerik team
 answered on 20 Apr 2020
2 answers
346 views

Can anyone tell me what the gray area on the bottom right of the grid is? (It almost looks like an extra empty cell on the end , and I don't need it.) I don't know how to get rid of it and it's cutting off the total amount in my last total column. My grid has a scrollable = true setting, and resizeable = true setting, and the first two columns are frozen. (See attached screenshot)

//Typescript code:
mod.Controls.grid.item.kendoGrid({

  dataSource: {
  data: [],
  },
  editable: false,
  scrollable: true,
  resizable: true,
  filterable: true,
  noRecords: true,
  pageable: false,

Cherie
Top achievements
Rank 1
 answered on 18 Apr 2020
2 answers
1.7K+ views
I am converting a site wirtten in MVC to Kenod.

In a model, the date field, "StartDateSelected" is text and changing that would be difficult.

Is there a way to make the DatePickerFor bind to a text field instead of DateTime?

@(Html.Kendo().DatePickerFor(model => model.StartDateSelected)
            .Name("StartDateSelected")
            .Min("1/1/1999")
            .Value(Model.StartDateSelected)
      )
Shirish
Top achievements
Rank 1
 answered on 17 Apr 2020
5 answers
963 views

Here is my code. When i am exporting, child rows are not  getting exported. How to achieve this. Expecting your help.

 

<script type="text/javascript">
        $(document).ready(function () {
                        $("#btnExportToExcel").click(function (e) {
                    var grid = $("#grid").data("kendoGrid");
                    grid.saveAsExcel();
                });
        });
    </script>

<div id="grid"></div>
                    <button id="btnExportToExcel" type="submit" name="excel" value="valexcel">
                        <img src="images/excel-icon.png" alt="imageExcel" /></button>
<script> $("#grid").kendoGrid({ columns: [{ field: "productName" }, { field: "category" }, { field: "status" }, { field: "Comments" }], dataSource: { data: [{ productName: "Tea", category: "Beverages", status: "Open", "Comments": "" }, { productName: "Coffee", category: "Beverages", status: "Open", "Comments": "comment1" }, { productName: "Ham", category: "Food", status: "Open", "Comments": "" }, { productName: "Bread", category: "Food", status: "Open", "Comments": "" }, { productName: "Hammer", category: "Hardware", status: "Closed", "Comments": "Comment test" }, { productName: "Screw", category: "Hardware", status: "Open", "Comments": "commenting testing" }], group: { field: "category" } },  detailTemplate: "<div class='Comments'>",
                    detailInit: function (e) { e.detailRow.find(".Comments").html("<p>" + e.data.Comments + "</p>"); }, });</script>

Veselin Tsvetanov
Telerik team
 answered on 17 Apr 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?