This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="aurelia-kendoui-bridge/grid/grid"></require> | |
<require from="aurelia-kendoui-bridge/grid/col"></require> | |
<ak-grid k-data-source.bind="datasource" | |
k-toolbar.bind="['excel']" | |
k-excel.bind="{ fileName: 'Kendo UI Grid Export.xlsx' }"> | |
<ak-col k-title="Contact Name" k-field="ContactName"> | |
</ak-grid> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="aurelia-kendoui-bridge/grid/grid"></require> | |
<require from="aurelia-kendoui-bridge/grid/col"></require> | |
<require from="aurelia-kendoui-bridge/common/template"></require> | |
<ak-grid k-data-source.bind="datasource" k-pageable.bind="pageable" k-sortable.bind="true" id="grid" > | |
<!--k-columns.bind="columns">--> | |
<ak-col k-title="Product"> | |
<ak-col k-title="Product Name" k-field="ProductName" > | |
<ak-template for="groupFooterTemplate"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class CostasMultiWalk { | |
rows: number[]; // Holds the column index for each row point | |
freeCols: boolean[]; // Keeps track of which columns that are still free (unoccupied) | |
dv: string[]; // Holds the displacement vectors | |
curRow: number; // Current row during search/backtracking | |
constructor(private order: number) { | |
} | |
private init(): void { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class CostasCounter { | |
rows: number[] = []; // Holds the column index for each row point | |
freeCols: boolean[] = []; // Keeps track of which columns that are still free (unoccupied) | |
dv: string[] = []; // Holds the displacement vectors | |
curRow: number; // Current row during search/backtracking | |
totalFound: number = 0; | |
totalFoundCenter: number = 0; |