프로젝트
GitHub에서 보기 orb
nnajm/orb
소개
JavaScript 피벗 테이블 라이브러리
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalorb
Pivot grid javascript library.
Website: https://nnajm.github.io/orb/
Latest version: 1.0.9 (Release notes)
cdnjs: https://cdnjs.com/libraries/orb
Demo:

Features
Interactivity
- Drag'n'drop to move fields
- Click to sort
- Visual filters
- Drill down (cell double click)
- Multiple data fields support
- Grand totals & Sub totals
- Sub totals expand/collapse
- Enhanced scrolling (fixed headers)
- Export to Excel
(new in 1.0.9) - Fast rendering using React
Customization
- Via code and/or toolbar
- Data headers location
- Grand totals visibility
- Sub totals visibility & collapsed state
- Data cells aggregate & format functions
- Theming: built-in & Bootstrap
Data query
Query aggregation results with a simple API:
var orb = require('orb');
var pgrid = new orb.pgrid(config);
// query
var q = pgrid.query()
.Manufacturer('Adventure Works')
.Class('Economy');
1 field
q.Amount()
=> 1185.17
List of fields
q.val('Amount', 'Q')
=> {
Amount: 1185.17,
Q: 44
}
Aggregation func
builtin
q.stdev('Amount', 'Q');
=> {
Amount: 1377.58,
Q: 3.9
}
custom
q.val({
// count
aggregateFunc: function(datafield, intersection, datasource) {
return intersection.length;
},
fields: ['Amount', 'Q']
});
=> {
Amount: 7,
Q: 7
}
Licence
관련 프로젝트 살펴보기
불러오는 중…