Telerik Forums
Kendo UI for Angular Forum
5 answers
6.1K+ views
Is it possible to disable the selection of specific rows based on the row data? Disable would mean that the selection checkbox would not appear (or would be disabled) and selection by mouse click would be disabled.
Thamarai
Top achievements
Rank 1
Veteran
 answered on 05 Mar 2021
2 answers
1.6K+ views
Maybe I'm missing something but I couldn't find how to do this in the documentation?!  I am using the ButtonGroup to represent a set of values for a configuration screen.
Nithya
Top achievements
Rank 1
 answered on 04 Mar 2021
1 answer
151 views
How to export to excel filtered data in kendo grid using angular 8 
Hetali
Telerik team
 answered on 04 Mar 2021
4 answers
547 views

App contains the following definition:

<kendo-grid-command-column *ngIf="guru" title="Edit" [width]="150">
  <ng-template kendoGridCellTemplate let-isNew="isNew">
    <button kendoGridEditCommand [primary]="true" *ngIf="!noUpdate">
      Edit
    </button>
    <button kendoGridRemoveCommand>Remove</button>
    <button kendoGridSaveCommand [disabled]="formGroup?.invalid">
      {{ isNew ? "Add" : "Update" }}
    </button>
    <button kendoGridCancelCommand>
      {{ isNew ? "Discard changes" : "Cancel" }}
    </button>
  </ng-template>
</kendo-grid-command-column>

Adding [locked]="true" results in: core.js:6142 ERROR Error: There should be at least one non-locked column.

Is it possible to lock the command column so the user doesn't have to scroll to it on wide tables to make something happen? Or does the limitation on locking and templates apply?

Ray
Top achievements
Rank 1
 answered on 04 Mar 2021
1 answer
1.8K+ views

how do i apply a template to a grid cell when i export it to excel?

 

something like this:

<kendo-grid-excel  [fetchData]="allData">
    <ng-container *ngFor="let item of array">
        <kendo-excelexport-column [field]="item.field">
            <ng-template let-value="value">
                <span>EXAMPLE: {{value}}</span>
            </ng-template>
        </kendo-excelexport-column>
    </ng-container>
</kendo-grid-excel>

regards,

alex

Georgi
Telerik team
 answered on 04 Mar 2021
0 answers
93 views
I have a lot of panelbar item those are being rendered dynamically using a loop.I want to expand any one of the panelbar from component based on some predefined logic.How to I expand that particular panel bar from my component.

It would be better if we could scroll down to the exactly expanded panelbaritem
Sarthak
Top achievements
Rank 1
Veteran
 asked on 04 Mar 2021
0 answers
335 views

I'm having trouble using a string filter when my field is an array of strings. It works fine if the strings are entirely numeric, but not at all when they contain non-numeric characters.

Here's my stackblitz example: Filter arrays of strings

I'm aware that my model is less than ideal, and I'd rather not refactor it if I don't have to.

Is there a way to override the process() method to handle this? Is the source for process() available? 

Steve
Top achievements
Rank 1
 asked on 03 Mar 2021
1 answer
1.0K+ views

Hello,

 

I'm using Angular Master Detail Grid to build a hierarchical Data table. I followed https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/ this article and getting the following error while running the app:

 

Error: src/app/app.component.html:25:83 - error TS2339: Property 'dataItem' does not exist on type 'AppComponent'.

25     <div *kendoGridDetailTemplate="let dataItem, let rowIndex = rowIndex; showIf: dataItem.skuMessageList">

  src/app/app.component.ts:9:16
    9   templateUrl: './app.component.html',
                     ~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component AppComponent.

 

This is the code Snippet - 

<div *kendoGridDetailTemplate="let dataItem, let rowIndex = rowIndex; showIf: dataItem.skuMessageList">
      <child-sku [Sku]="dataItem.skuMessageList"></child-sku>
</div>     

Any help would be appreciated.

 

 

Ivan
Telerik team
 answered on 03 Mar 2021
4 answers
360 views

Hi there,

I need to be able to use the kendo-grid-string-filter-menu but the available kendo directives to use inside this do not cover my specific use case. I need to have an 'Is blank' filter and an 'Is Null' filter. Is it possible to write my own such that I can add it in the below. If so, how would it look?

 

  <kendo-grid-string-filter-menu
        [column]="column"
        [extra]="true"
        [filter]="filter"
        [filterService]="filterService">

        <kendo-filter-contains-operator>
        </kendo-filter-contains-operator>
        <kendo-filter-eq-operator>
        </kendo-filter-eq-operator>
        <kendo-filter-neq-operator>
        </kendo-filter-neq-operator>

      </kendo-grid-string-filter-menu>

Ivan
Telerik team
 answered on 03 Mar 2021
1 answer
1.7K+ views

hi, I would like to know how it is possible to insert a template for the single column.
I would like to apply a template to the cell for example to print a text and not the value of the field

Something like this:

<kendo-grid-excel fileName="{{fileName}}" [fetchData]="_allData">
    <ng-container *ngFor="let item of _excelColumns">
        <kendo-excelexport-column [field]="item.field" [title]="item.title" [hidden]="item.hidden" [cellOptions]="item.cellOptions" [width]="item.width">
            <ng-template let-dataItem>
                Hello world
              </ng-template>
        </kendo-excelexport-column>
    </ng-container>
</kendo-grid-excel>

 

 

hello world not displayed

 

Great regards,

Alex

 

 

Georgi
Telerik team
 answered on 03 Mar 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?