Questions tagged [webdatarocks]

Use this tag for questions related to the WebDataRocks Pivot Table library.

79 questions
3
votes
1 answer

WebDataRocks height as percent not working

I just starting using WebDataRocks and can't seem to get the height to fill the window. The documentation says it will (https://www.webdatarocks.com/doc/init-api-call), "The height of the pivot table in pixels or percent (500 by default)". The…
3
votes
2 answers

Property 'next' does not exist on type 'EventEmitter' in WebDataRocks

While integrating the WebDataRocks in angular for pivot table, I am getting the error Property 'next' does not exist on type 'EventEmitter' Here is my code, import { Component, ElementRef, Input, Output, EventEmitter, OnInit } from…
3
votes
1 answer

How to get Grand Total of a column using Webdatarocks and use it in charts

I am using Webdatarocks Pivot table. I get GrandTotal at the bottom of Grid, I want use this Grand Total in the Charts. I checked community but I am unable to find appropriate function which can provide me value of my GrandTotal. I checked functions…
2
votes
1 answer

WebDataRocks Pivot Order Dinamclly

So, i have this order Green,0,0,0,0,0,0 Black,0,0,0,0,0,0 Red,0,0,0,0,0,0,0 Blue,0,0,0,0,0,0,0 When generate the webdatarocks displays Blue,0,0,0,0,0,0,0 Black,0,0,0,0,0,0 Green,0,0,0,0,0,0 Red,0,0,0,0,0,0,0 Any way to get them to display in that…
Breno Sobral
  • 71
  • 2
  • 11
2
votes
1 answer

Javascript WebDataRock pivot-table configuration from a demo starter example

I can not make this demo work, with the "hierarchy" parameter, even though I specify the parameter value, it applies the condition to all hierarchy chain. "conditions": [{ "formula": "#value > 1", …
husnu
  • 354
  • 3
  • 15
2
votes
2 answers

how to replace a repetitive block of code with a function in jQuery

I have multiple tabs on my page, on each tab I declare a pivot table using WebDataRocks plugin and add an event to it. The code is repetitive, as the only difference is the filter in the pivot. I want to create a function with parameters and call it…
DevTN
  • 511
  • 2
  • 9
  • 35
1
vote
1 answer

How to remove drill down caption? and add expand and collapse arrow

I want remove caption and add expand and collapse arrow. I can't post image here so check my codesandbox. This I want look like https://codepen.io/webdatarocks/pen/dLeZvN My…
Khalid P
  • 11
  • 2
1
vote
1 answer

What changes were introduced in webdatarocks version 1.4?

webdatarocks v1.4 was released a few days ago There's no public changelog or post Anyone knows what changed in this version?
blikblum
  • 308
  • 2
  • 6
1
vote
1 answer

webdatarocks conditional formatting on percent fields

Having a problem with WebDataRocks conditional formatting. I have a field which is formatted as a %. I wish to colour code the field red if > 100%. I have values in the field that are over 100%. I have tried to use the conditional formatting options…
ian
  • 13
  • 2
1
vote
0 answers

Are there any APIs to create "Main - Sub report" by using WebdataRocks

We are using WebDataRocks to create our web report. But I am wondering if WebDataRock has certain API I can use to cover our "Main - Sub report" scenario? Basically, this scenario will be something like: There is a main report, for certain data…
Leon
  • 11
  • 1
1
vote
1 answer

Error : React.createClass is not a function [WebDataRocks]

I'm trying to use WebDataRocks(npm) with React(v16.14.0) and its failing with the below error "React.createClass is not a function" Does it support React(v16.14.0)?
1
vote
1 answer

WebDataRock TypeError: Cannot read property element of null

WebDataRock TypeError: Cannot read property 'element' of nul AND WebDataRocks: Pivot cannot be drawn. Grettings. I try to implement WebDataRocks in my react-app project, i can implementate the WebDataRock.Pivot Component but since begin to render de…
Diego_c_n
  • 11
  • 2
1
vote
1 answer

How to add conditional fields

I am trying to create a report where I have to sum fields by specific type and then subtract from another. ex. Net Operating Income = Total Income - Total Expense I would have data that has a type field ("INCOME", "EXPENSE"). I created something…
1
vote
1 answer

Problem with WebDataRocks Pivot Table captions in rows, columns, measures

I have 3 questions about captions (data localizations): How to provide caption for a field not included in slice object Why are captions ignored in: toolbar -> fields -> all fields -> any measure field Why are captions ignored while adding…
vebvinas
  • 33
  • 1
  • 4
1
vote
1 answer

Add progress bar to td inside webdatarocks table

I have not found any help in the webdatarocks documentation if we can add progress bars inside the td. Is there any way we can do that to a table like so: var pivot = new WebDataRocks({ container: "#wdr-component", toolbar: true, …
nb_nb_nb
  • 1,243
  • 11
  • 36
1
2 3 4 5 6