AG-GRID SSRM Expandable Columns - reactjs

I have a server side row model grid in pivot mode and it's bringing back my data just fine as a pivot.
Row groupings expand to the next dimension, etc...
I would like to do the same with column groupings as well (expand/contract).
This is trivial on the default client side row model, but with SSRM the columns are created explicitly as secondary ColDefs based on returned pivot data. I've tried setting columnGroupShow property to 'closed' with 'sum' aggFunc, but I think that only works client side. Not sure if AG-Grid even supports this functionality (painlessly).

Related

How to persist the column order of the dataGridPro table in Material UI?

I am trying to persist the column order of the dataGridPro table in Material UI. As you know, we can simply allow all column reordering by dragging the header column and moving them left or right. But the column order would be initialized after the page reloading.
By default, columns are ordered according to the order of the columns array.
Should I store the updated array in the backend database or other storage? How can I implement this functionality and which choice would be preferable?
I am looking forward to your answer.
Expected behavior
Persist the column order after the page reloading or page navigation

Bind tablix with a single row of out of many rows returned by dataset in SSRS 2008?

I am fully aware that ideally, dataset should return only relevant rows with which to bind tablix.
However, in this particular case, I am utilizing same dataset to bind multiple tables and need to perform some filtering 'on the fly'.
I tried writing logic in column visibility of each cell to achieve desired output but there is no unique condition available on cell level .
I need to bind only single row from the dataset based on my unique column value, any pointers will be highly appreciated, thanks !
Although you haven't provided any code/data samples but may be you can utilize row visibility property to filter rows from dataset with which to bind individual tables as suggested here

OBIEE Characteristic Table with dynamic header

I have original data as shown above with a single record. I have name of the field in one column and value in another column. I need to transform make the heading dynamic as shown below.
I tried with table pivot table and trellis, not no success.
You should be able to do this in a pivot table in OBIEE.
Please see my below screenshot. I was able to get my column originally named 'Total Contracted Cases' to now be called 'USD' because that is the value in the column 'Currency Code'. So for you, you should be able to get the column 'PARAM_VAL1' to be called 'COUNTRY' because that is the value in the column 'PARAM_CD1'. See below for my example:
In the second image, be sure to click on the 'Measure Lables' properties to hide the value.
For columns that are not metrics (no aggregation rule set) that will be used in the 'Measures' section of the pivot table, you will have to define an aggregation rule in the column properties dialog box to keep the value from being converted to null. If your data is as you say it is (a single record), then this should not be an issue; you should be able to pick any aggregation rule and not have to worry about dropping data.

Using extjs 4.2 grid as attendance management system

I am looking to create an attendance sheet but not getting the magic idea for the same. Possible options for me
Use grid but done know how to pass date values as grid column headings
Use table but don’t know how to edit the same. grid is editable component.
Please help me with the thought process
I don't think that Ext.grid.Panel is the component for this purpose. Grid conceptually more resembles database tables (fixed columns/fields repeated many times in rows/records) than spreadsheets (cells w/o prescribed purpose).
Also, grid has a lot of features like sorting, column re-ordering, column hiding that you would need to turn off for this purpose. Grid is just an overkill.
I would probably go with a custom table-like form with checkboxes. The form would be dynamically generated as employees can change and dates as well.

Multiple Grids to achieve Nested Grids functionality

I am aware of what a RowExpander plugin is for a Grid, where each row in a Grid expands to show it's childs or related store data. My requirement is a bit different.
I need multiple Grids on a page. Each Grid is loaded with data from different backend DB tables TB1, TB2, TB3.
However, each of the backend DB tables have a one to many relationship with each other. That is, each row in TB1 has multiple rows in TB2. One row in TB2 has multiple rows in TB3.
Now, I need one grid for each of these tables on UI. And then if I select a particular row in the first Grid ( relavant to TB1 ), I should populate the second grid with the relavant records from TB2. And then if I select a row in the grid corresponding to TB2, I should populate third grid with all the records relavant to the row selected from TB3.
I hope I am clear. Could you please help me with any sample code that you might have?
Subscribe to select (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.Panel-event-select) event of the TB1 and then filter store associated TB2 with whatever filter criteria you need - this way second grid will be automatically filtered to the records you need to show.

Resources