Giter VIP home page Giter VIP logo

angular2-datagrid's People

Contributors

cuppalabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

angular2-datagrid's Issues

Row click listeners

Reading through the code, I couldn't find any api supporting row click listeners. Is this feature wip? PRs accepted?

Maximum allowed number of selections

Hi,

It would be good to have a maximum allowed number of selections and if exceed disable checkboxes for the rest. For example lets say that my dropdown loads 100 items. I only want it to select maximum 20 items. if the user selects 20 items then the other checkboxes should be disabled and an event should be fired.

Thanks

selected row background color not working and also if i do alternative record color not working properly for mouse hover

existing style format below
.vcolumn{
display: inline-block;
padding: 5px;
border-right: 1px solid black;

}
I created new style
.vcolumnAlt{
display: inline-block;
padding: 5px;
border-right: 1px solid black;
background: gary (added)

}

.data-grid > .container > .vcolumnalter:hover{
background: -webkit-linear-gradient(black,gray);;
}

in HTML I use

{{row[key.name]}}

issue# 1: mouse hover not working for dynamically added for vcolumnAlt.
2nd how to make record selected with different color if i click the record untill i click other row

how to refresh cuppa grid using angular 2 .net mvc 5

I have integrated cuppa grid and it's not showing fresh contents after page selection in pagination.
if i clicked on page 2 then it shows page 1's records and then page 2's records in the same grid and does not refresh the grid. Kindly give me any solution/suggestion.
my code ->
`for (i = 0; i < this.count; i++)
{
var tempObj = {
"SrNo": 0, "InvoiceNo": 0, "InvoiceDate": "", "CustomerRefId": 0,
"CustomerName": "", "ProductReferenceId": 0,
"ProductName": "", "ContractRefId": "",
"SumOfQty": 0, "SumOfSales": 0, "Deduction": 0,
"NetSales": 0, "SAR": 0, "NetSalesAfterSAR": 0,
"NCS": 0, "NetSalesAfterNCS": 0,

                            };
                            console.log("*******************testing");
                            tempObj.SrNo = i + 1;
                            tempObj.InvoiceNo = this.NetSalesDetailList[i]["InvoiceNo"];
                            tempObj.InvoiceDate = this.NetSalesDetailList[i]["InvoiceDate"];
                            tempObj.CustomerRefId = this.NetSalesDetailList[i]["CustomerRefId"];
                            tempObj.CustomerName = this.NetSalesDetailList[i]["CustomerName"];
                            tempObj.ProductReferenceId = this.NetSalesDetailList[i]["ProductReferenceId"];
                            tempObj.ProductName = this.NetSalesDetailList[i]["ProductName"];
                            tempObj.ContractRefId = this.NetSalesDetailList[i]["ContractRefId"];
                            tempObj.SumOfQty = this.NetSalesDetailList[i]["SumOfQty"];
                            tempObj.SumOfSales = this.NetSalesDetailList[i]["SumOfSales"];
                            tempObj.Deduction = this.NetSalesDetailList[i]["Deduction"];
                            tempObj.NetSales = this.NetSalesDetailList[i]["NetSales"];
                            tempObj.SAR = this.NetSalesDetailList[i]["SAR"];
                            tempObj.NetSalesAfterSAR = this.NetSalesDetailList[i]["NetSalesAfterSAR"];
                            tempObj.NCS = this.NetSalesDetailList[i]["NCS"];
                            tempObj.NetSalesAfterNCS = this.NetSalesDetailList[i]["NetSalesAfterNCS"];
                            
                            this.arrayList.push(tempObj);
                         
                          
                        }

arrayList: any[] =[];
tempObj: any[] = [];

public config = {
    title: "Gross To Net Sales Detail Report",
    w: 800,
    h: 350,
    itemHeight: 50,
    totalRows: 16000,
    items: this.arrayList
}`

Define Column Widht

Hi,

Any way to define width for each column as well as column resizing for better presentation ?

Thanks.

Not able to bind dynamic data in the grid.

Hi,

Your mentioned example is workig fine on my machine. But when I tried with async service data. Grid was not binding.

Can you please send a example of that also.

Thanks,
Mohit

Row Buttons

I have not got a chance to try using the component, but after seeing the demo, this seems to be cool grid. Fast in sorting and searching.

Any possibility to render column if i insert hyperlink add/remove button in each row and skip the column from searching/sorting ?

cuppa-ng2-grid/cuppa-ng2-dataGrid 404 (Not Found)

  1. I have installed packages here is screen shot of it
    image
  2. Import CuppaDataGridModule in appmodule
    image
  3. the CuppaDemoGridComponent where i am passing data to view
    image
  4. Grid on View
    image
  5. one question it do not have any setting in systemjs.config.js

Loading Error

ERROR in .//angular2-multiselect-dropdown/src/app/angular2-multiselect-dropdown/multiselect.component.ts
Module parse failed: ....\node_modules\angular2-multiselect-dropdown\src\app\angular2-multiselect-dropdown\multiselect.component.ts Unexpected token (9:44)
You may need an appropriate loader to handle this file type.
| import { ListFilterPipe } from './list-filter';
|
| export const DROPDOWN_CONTROL_VALUE_ACCESSOR: any = {
| provide: NG_VALUE_ACCESSOR,
| useExisting: forwardRef(() => AngularMultiSelect),
@ ./
/angular2-multiselect-dropdown/angular2-multiselect-dropdown.ts 1:0-78
@ ./ClientApp/app/app.module.client.ts
@ ./ClientApp/boot-client.ts
@ multi event-source-polyfill webpack-hot-middleware/client?path=%2F__webpack_hmr ./ClientApp/boot-client.ts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.