Telerik Forums
Kendo UI for Angular Forum
1 answer
371 views

Hello,

how to turn off selection only inside cell which is editable and in edit mode? When you select some data inside editable cell you can see this selection (color red - added screenshot).

I still want to  be able to select cells outisde editable cell, but I want to turn this off while my mouse cursor is inside cell which is in edit mode.

I would like to have normal selection while cell is in edit mode and while I'm starting selection from inside cell.

 

Stackblitz with issue: https://stackblitz.com/edit/angular-wsp7zm-27tmxu?file=app/app.component.ts

 

Regards,

Dawid

 

 

Dimiter Topalov
Telerik team
 answered on 15 Oct 2021
1 answer
131 views
Hi,
Is it possible to persist Grid column header CSS classes (text alignment) while reordering/drag-n-dropping columns?
I've looked into Grid API but couldn't find there any clue...
Thanks in advance! 
Stoyan
Telerik team
 answered on 15 Oct 2021
1 answer
2.3K+ views

Hi,

I read about the formatPlaceholder option in the docs, but I can't find any options, whether we can set this value to null or an empty string. Currently my column filter is configured like this:


<kendo-grid-column field="year" title="Év" format="yyyy">
      <ng-template kendoGridFilterCellTemplate let-filter let-column="column">
        <kendo-grid-date-filter-cell
          [showOperators]="false"
          [column]="column"
          [filter]="filter"
          activeView="decade"
          bottomView="decade"
          format="yyyy"
          [formatPlaceholder]="{
            year: '',
            month: '',
            day: '',
            hour: '',
            minute: '',
            second: ''
          }"
        >
        </kendo-grid-date-filter-cell>
      </ng-template>
    </kendo-grid-column>

As you see, I tried to set the placeholder to nothing, but no success, I get this:

How can I get rid of the 'year' text?

Thanks.

Hetali
Telerik team
 answered on 14 Oct 2021
5 answers
1.2K+ views
Hi

Im trying to limit my numeric filter row column to allow just values from 0-1000, but am having trouble finding an exact sample.

I was following the NumericFilterMenuComponent link, https://www.telerik.com/kendo-angular-ui/components/grid/api/NumericFilterMenuComponent/

I tried the code below but an unable to get the the spinner on the filter to show.  Can you provide a sample please?  Is there another way besides using the kendo-numerictextbox control?

    <kendo-grid-column field="UnitPrice" title="Unit Price Custom Filter" width="200">
        <ng-template kendoGridFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
        <kendo-grid-numeric-filter-menu
            [column]="column"
            [filter]="filter"
            [filterService]="filterService"
            >
            <kendo-numerictextbox
                [max]="1000"
                [min]="0"
                [spinners]="true"
                [value]="numericValue"
                (valueChange)="numericChange($event)">
            </kendo-numerictextbox>

        </kendo-grid-numeric-filter-menu>
        </ng-template>
    </kendo-grid-column>

Thanks
Aravind
Top achievements
Rank 1
Iron
 answered on 14 Oct 2021
1 answer
152 views

Hi Team,

We have one requirement, where we want to implement the Kendo UI grid within the tab strip. In our example it may be possible that one tab strip has multiple sub tab strip and each tab strip have a Kendo UI grid as shown in the screenshot below:


We have already implement above exmpale in Javascript/JQuery we want to implement the same example in AngularJS but we have been unable to implement it. Can you please guide us to implement above example in AngularJS.

Thanks.!

Georgi Denchev
Telerik team
 answered on 14 Oct 2021
1 answer
122 views

First question: Is it possible to create in Kendo (for angular) in the editor a footer and a header?  If yes how to do that?
Second question:  If we export from the editor the layout is changed? Any ideas how to use a4 format?

Thank you!

Martin Bechev
Telerik team
 updated answer on 13 Oct 2021
3 answers
1.4K+ views

Hi Team,

Please check following link

https://stackblitz.com/edit/angular-7buwuy?file=app/app.component.ts

I have added 2 buttons
one button Save as PDF
another one is Direct Printer
Direct Print giving me expected result which is not giving by kendo-pdf-export

1. Auto Print will not work with Google Chrome that is clear
2. Most importantly Image not exporting in PDF when I'm using the google chrome browser same is working with Firefox! why?

What is the issue?

Regards,

Srinivas


Martin Bechev
Telerik team
 answered on 13 Oct 2021
1 answer
333 views
Stack Bar chart displays series names in reverse order in shared tool tip. How to add a pipe.
Trapti
Top achievements
Rank 1
Iron
 answered on 13 Oct 2021
1 answer
356 views

Right now I created a separate grid but I would like to have the list of attachments part of the file upload control if possible. How do I iterate through a collection and bind the filename, download link, remove etc..  inside the upload control ? 

 

the way I do it now is simply

<div>
        <ul>
            <li *ngFor=" let a of attachments">
                {{a.name}}
                <button type="button" (click)="download(a)">download</button>
                <button type="button" (click)="deleteAttachment(a)">delete</button>
            </li>
        </ul>
    </div>

 

Slavena
Telerik team
 answered on 12 Oct 2021
1 answer
1.0K+ views

Hi,

I have a grid with this config:

<kendo-grid
    [kendoGridBinding]="gridData.data"
    [filterable]="true"
    (add)="addHandler()"
  >

In this grid I have a checkbox column:


<kendo-grid-column field="defaultLang" title="Alapértelmezett">
      <ng-template kendoGridCellTemplate let-dataItem>
        <div style="text-align: center">
          <input type="checkbox" disabled [checked]="dataItem.defaultLang" />
        </div>
      </ng-template>
    </kendo-grid-column>

If I want to filter this column I get an error, because the filter mechanism operates on strings. How can I

make this work, that I can filter it with '0', '1', 'true', 'false'?

 

Thanks.

Martin Bechev
Telerik team
 answered on 12 Oct 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?