What is the best way to have all the red boxes (see pix) aligned to the right of the containing div? No success with floats or flexbox. Trying to mimic ClickOnce app in web SPA. Here's the app.component.sccs at the moment:
#treecontainer { width: 400px; border: 5px dotted black; overflow:hidden; }
div { border: 2px solid blue; }
span { border: 3px solid green; }
span:nth-of-type(3) {border: 3px solid red; float:right;}
Hi,
I've defined the following grid:
<kendo-grid [data]="gridData | async" [height]="410" resizable="true"> <kendo-grid-messages noRecords="{{'RequestsRegister.NoRecord' | translate}}"> </kendo-grid-messages> <kendo-grid-column field="identity.email" title="{{'RequestsRegister.UserEmail' | translate}}" width="150"> </kendo-grid-column>....
but "noRecords" displays nothing...
the syntax is correct, and it works for the column's title, so what's wrong?


I found an example for jQuery only: https://demos.telerik.com/kendo-ui/sortable/integration-tabstrip
But I need it for Angular "^5.2.9"
My attempt work technically, the tabs move and are re-orderable, but the drag handle is not the Tab item itself, it is a separate [object Object] text.
<kendo-sortable [data]="tabItems" itemClass="tab-item" activeItemClass="active"></kendo-sortable><kendo-tabstrip [keepTabContent]="true" (tabSelect)="onTabSelect($event)"> <kendo-tabstrip-tab *ngFor="let item of tabItems; let i=index" [selected]="i === index" class="tab-item"> <ng-template kendoTabTitle> <span> {{item.title}}</span> <span class="k-icon k-i-close" (click)="closeTab(i)"></span> </ng-template> <ng-template kendoTabContent> <app-tab-content [componentName]="item.componentName" [instanceName]="item.instanceName" ></app-tab-content> </ng-template> </kendo-tabstrip-tab></kendo-tabstrip>



I have a column with short date time as string like: dd/mm/yyyy . for example: 08/04/2018
when I click on the title of the column name to sort it doesn't sort properly, but makes a mix
my html file:
<kendo-grid #grid="kendoGrid"
[data]="gridView" id="GridID"
[pageSize]="pageSize"
[skip]="skip"
[pageable]="true"
[sortable]="{allowUnsort: allowUnsort, mode: multiple}"
[resizable]="true"
[sort]="sort"
[scrollable]="{virtual: true}"
(pageChange)="pageChange($event)"
(sortChange)="sortChange($event)">
<kendo-grid-messages noRecords="no Records">
</kendo-grid-messages>
<kendo-grid-column *ngFor="let item of gridColumnData" [headerClass]="'t-head'" [hidden]="item.hide" [field]="item.field" [title]="item.title">
</kendo-grid-column>
</kendo-grid>
my .ts file:
public sort: SortDescriptor[] = [{
field: '',
dir: 'asc'
}];
public sortChange(sort: SortDescriptor[]): void {
this.sort = sort;
}
We want something that is a combination between the ComboBox and the AutoComplete. Basically, we need to have a control that works exactly like the ComboBox about 99% of the time - only allowed items can be selected, we need to know the id of the selected item, an onChange event (or equivalent) must be handled, etc. However, we also have a request that users can retrieve a subset of the items based on what they type into the control. The data must also include an "Any" option that is not returned with the Input data for the parent component.
Currently, we are using the ComboBox with suggest and filterable set to true. We are adding the "Any" in ngOnInit and ngOnChanges as needed by calling the following:
resetItemData() { this.allItems = [this.anyItem, ...this.myComponent.items]; this.filteredItems = this.allItems;}The ComboBox uses filteredItems as its data and we are setting the initial value to be anyItem which has an id = 0. We are using the valuePrimitive because we need to run another event when any inputs change on the form, so we need to run the valueChange event on the ComboBox. We are also using the filterChange to filter the items shown based on what the user types in.
When the user types in something that does not match, we are setting the filteredItems to return allItems just as we do at the beginning so that the user can just select something from the list. If the user selects nothing, we set the value to be 0 so that the request will use "Any" because the API will not accept an invalid itemId.
Everything is working as designed. However, we have a couple UI issues that need to be addressed before we can proceed.
Any suggestions you could give on this would be helpful! I have tried using AutoComplete, but it appears that there are even more issues to address. However, if you know of a way to use that instead of the ComboBox, I am open to that as well.
Thank you for your help!