Telerik Forums
Kendo UI for Angular Forum
0 answers
133 views

I'm trying to make a project duration view in my Gantt component with Angular, but I can only find a way to make the daily, weekly, monthly and yearly view. Is it possible to make a view from a certain date to another date?

Thanks in advance and greetings.

JuanFran
Top achievements
Rank 1
 asked on 24 Oct 2023
2 answers
464 views

Hi there,

How do I access the CSS of the Kendo expander header? I can edit it in dev tools and the changes show up, but when I try to access the k-expander-header in my CSS files, it shows no changes.

Please see the Stackblitz here:

https://stackblitz.com/edit/angular-7tbwhs?file=src%2Fapp%2Fapp.component.ts

Thank you!

Simeon
Telerik team
 answered on 24 Oct 2023
0 answers
375 views

I'm creating a form where, if some data already exists, it populates the form with that data. There is a field with three radio buttons in the form and I'm having trouble getting one of the buttons to be checked if that field has a value already. As you can see in the provided stackblitz, the form registers that the gender input has a value of female, but the radio button isn't checked.

How can I get it to be checked?

Thank you!

https://stackblitz.com/edit/angular-7fxtac?file=src%2Fapp%2Fapp.component.ts

Caroline
Top achievements
Rank 1
 asked on 23 Oct 2023
0 answers
264 views

I see that sticky columns in master/detail grids aren't supported. But if the sticky column is on the right of the grid, it seems to work fine.  Is there a potential risk I'm overlooking?  We have grids with potentially long rows, but want to keep the command button on the far right showing regardless of how wide the rows are.

If you don't see it causing subtle issues I'm not noticing now, is there any way to suppress the exceptions it throws in development mode?

Noah
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 23 Oct 2023
1 answer
89 views

Hi ,

I need to remove an event when the user removes it by clicking on the X link which appears when he hovers over it. Currently what happens is this:

- the removeEvent is triggered right away

- then the confirmation dialog appears

But I need to add my code only after the Yes button is clicked on that dialog. Is there an event for that?

I also tried to use my own dialog, so I prevent the default behavior of the remove event, but in this case the widget does not remove the event. So I would like to know how to do it programmatically. Thanks.

Regards,

Anton

Anton
Top achievements
Rank 1
Iron
 answered on 20 Oct 2023
1 answer
706 views
can we use icon property in Kendo Dropdown List Angular
Hetali
Telerik team
 answered on 20 Oct 2023
0 answers
230 views

ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(Standalone[ReportsComponent])[MultiViewCalendarComponent -> MultiViewCalendarComponent -> MultiViewCalendarComponent -> MultiViewCalendarComponent]:
  NullInjectorError: No provider for MultiViewCalendarComponent!
NullInjectorError: R3InjectorError(Standalone[ReportsComponent])[MultiViewCalendarComponent -> MultiViewCalendarComponent -> MultiViewCalendarComponent -> MultiViewCalendarComponent]:
  NullInjectorError: No provider for MultiViewCalendarComponent!

 

Vikas
Top achievements
Rank 1
Iron
Iron
 asked on 20 Oct 2023
1 answer
169 views

Hello,

We're very excited to see the new Angular Spreadsheet component, and would love to switch over from the jQuery one as soon as possible!

However, I noticed one thing missing from the API that we're using with the jQuery version - support for custom toolbar actions.

Is there any way to achieve this in the current version? And if not, are there plans to add this functionality in a future release?

Martin Bechev
Telerik team
 answered on 20 Oct 2023
0 answers
298 views

In our application we are using angular 14 and the kendo control  tree-list , our requirement is to hide the parent node(Root container, unsedContainer) as you can see in the attached image. We want to display the child node only. Is there is any way out or property by which we can hide the root node.

 image

The code sample and data is below

<kendo-treelist
  class="kendo-treelist"
  [kendoTreeListFlatBinding]="data"
  #directive="kendoTreeListFlatBinding"
  parentIdField="wrkdocParentoid"
  idField="wrkdocOid"
  kendoTreeListExpandable
  kendoTreeListSelectable
  [height]="1200"
  [rowReorderable]="true"
  (cellClick)="onCellClick($event)"
>
  <kendo-treelist-rowreorder-column
    [width]="25"
  >
  </kendo-treelist-rowreorder-column>
  <kendo-treelist-column 
    [expandable]="true" 
    title="Name" 
    [width]="250"
  >
    <ng-template 
      kendoTreeListCellTemplate let-dataItem let-rowIndex="rowIndex"
    >
      <span class="k-icon k-i-folder" *ngIf="isFolder(dataItem)"></span>
      <span> {{ getTemplateName(dataItem) }}</span>
    </ng-template>
  </kendo-treelist-column>
  <kendo-treelist-column
    field="wrkdocUdid"
    title="ID"
    [width]="140"
  ></kendo-treelist-column>
</kendo-treelist>

 

DATA set:

mockData: any[] = [
  {
    wrkdocOid: 3,
    wrkdocType: 'RootTemplateContainer',
    wrkdocUdid: 'BuiltIn.RootContainer',
    wrkdocDescription:
      'an invisible built-in folder which contains all items that appear on the root level',
    wrkdocUpdatedate: null,
    wrkdocUpdatename: null,
    wrkdocWrkxlsoid: null,
    wrkdocParentoid: null,
    wrkdocPosition: null,
    wrkdocXmlfile: null,
    fmwrkdoclans: [],
    inverseWrkdocParento: [],
    wrkdocParento: null,
  },
  {
    wrkdocOid: 4,
    wrkdocType: 'UnusedTemplateContainer',
    wrkdocUdid: 'BuiltIn.UnusedContainer',
    wrkdocDescription:
      'an invisible built-in folder which contains all items that appear in the not-used list',
    wrkdocUpdatedate: null,
    wrkdocUpdatename: null,
    wrkdocWrkxlsoid: null,
    wrkdocParentoid: null,
    wrkdocPosition: 1,
    wrkdocXmlfile: null,
    fmwrkdoclans: [],
    inverseWrkdocParento: [],
    wrkdocParento: null,
  },
  {
    wrkdocOid: 5,
    wrkdocType: 'Folder',
    wrkdocUdid: 'BwTemplates',
    wrkdocDescription: null,
    wrkdocUpdatedate: '2010-03-03T09:42:15',
    wrkdocUpdatename: null,
    wrkdocWrkxlsoid: null,
    wrkdocParentoid: 3,
    wrkdocPosition: 0,
    wrkdocXmlfile: null,
    fmwrkdoclans: [],
    inverseWrkdocParento: [],
    wrkdocParento: null,
  },
  {
    wrkdocOid: 52,
    wrkdocType: 'Folder',
    wrkdocUdid: 'BwIT100',
    wrkdocDescription: null,
    wrkdocUpdatedate: '2010-03-17T13:55:12',
    wrkdocUpdatename: 'Basware system',
    wrkdocWrkxlsoid: null,
    wrkdocParentoid: 5,
    wrkdocPosition: 0,
    wrkdocXmlfile: null,
    fmwrkdoclans: [
      {
        wrkdoclanWrkdocoid: 52,
        wrkdoclanText: 'BW Input Templates',
        wrkdoclanLanudid: 'EN',
        wrkdoclanWrkdoco: null,
      },
      {
        wrkdoclanWrkdocoid: 52,
        wrkdoclanText: 'BW Syöttöpohjat',
        wrkdoclanLanudid: 'FI',
        wrkdoclanWrkdoco: null,
      },
    ],
    inverseWrkdocParento: [],
    wrkdocParento: null,
  },
 
  {

  {
    wrkdocOid: 10200,
    wrkdocType: 'Template',
    wrkdocUdid: 'E_104',
    wrkdocDescription: null,
    wrkdocUpdatedate: '2023-01-13T12:56:10',
    wrkdocUpdatename: 'Latvanen Henri',
    wrkdocWrkxlsoid: 10124,
    wrkdocParentoid: 4,
    wrkdocPosition: 0,
    wrkdocXmlfile: 20241,
    fmwrkdoclans: [
      {
        wrkdoclanWrkdocoid: 10200,
        wrkdoclanText: 'laskelma',
        wrkdoclanLanudid: 'EN',
        wrkdoclanWrkdoco: null,
      },
      {
        wrkdoclanWrkdocoid: 10200,
        wrkdoclanText: 'laskelma',
        wrkdoclanLanudid: 'FI',
        wrkdoclanWrkdoco: null,
      },
    ],
    inverseWrkdocParento: [],
    wrkdocParento: null,
  },
];
Johina
Top achievements
Rank 1
 updated question on 19 Oct 2023
1 answer
604 views

I have a scenario, where I have to filter the grid based on a Boolean column.

for ex: "isMember" is a boolean field with  "yes" or "No" values

The user can filter records with :

"yes":- to see only member records,[checked= true]

"No":-  to see non-member records[checked = fslse]

and "both yes and No":- to see all records[checked=null]

 The Prime-ng has a p-triStateCheckbox component to implement this scenario.

Do we have something similar in kendo to implement this scenario?

Hetali
Telerik team
 answered on 18 Oct 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?