How to display two columns vertically below each other in ag-grid? - ag-grid

Similar to how the Devexpress property TcxGridBandedColumnPosition.RowIndex works in DataGrid
Example from devexpress:
https://docs.devexpress.com/VCL/171164/ExpressQuantumGrid/task-based-help/banded-table-view
In the example, we have a band "Issue Info" and two columns located one below the other
As far as I understand there is only one way and that is to write custom renders if it possible with current API.

Related

Tableau | Display different sheets by selecting option(s) from one particular filter

Is there a way to display different sheets by clicking/selecting values/options from one particular filter?
for example, if I have this filter:
and I need to display a sheet named Departments when I select Commercial from the filter shown in the PtrScn.
However, When I click/select any other options like HR, Information ...etc, I want it to display the associated sheet with the filter "Filter by Sector"
Any hints would be highly appreciated!
NOTE: I use tableau 2019.1 and it does not show "Change Parameter" that might be needed to approach this as I noticed when I have been researching for two days now!
You should use a container (say vertical) where you wanna put your N worksheets one on top of the other one without changing vertical spacing: just let Tableau do its stuff!
Be sure to remove the worksheet titles.
Once you're done, you need to create a parameter in order to handle all the N possible choices, and according to that you need to create N Calculated fields with a condition like this one:
if [Param] = 'Profit' then 'ok' else 'ko' end
Each calculated field will be used as a condition (select just ok values) in your filter selection.
Since the parameter can accept just one value a time, you will have just one of your N worksheet displaying data.
And this is the trick based on the vertical conatiner: if you hide worksheet titles, you will see "something" just for the selected worksheet and Tableau automatically will handle all the vertical space in the container.
The result will look like the following:
Adding to Fabio's great answer, these resources about collapsing containers may be useful:
Sheet swapping using collapsing containers
Automatically resize items in a Tableau container (or make disappear in your case)

create complex table header in tableau sheet

As you can see (below) I have LastYear, CurrentYear, %YOY (calculated) for NetSaleAll, NetSaleAll(New), and NetSaleAll(Retained), so totally 9 measures in the source (different names of course). So question is how to add NetSaleAll, NetSaleAll(New), and NetSaleAll(Retained) text for related measures (LastYear, CurrentYear, %YOY (calculated))?
You can achieve by creating headers in one sheet and data in other sheet and then in dashboard combining both sheets.
I have made changes and attached the book in same link.

MS Access: Can a grouping be displayed on the left side of the detail section instead of above it?

Imagine a regular ol' report that has generated data and has one grouping level. We all know that grouping adds a section above the detail section and in here we can put in the controls that hold the grouped fields.
However, is there a way to display the grouped fields on the left of the detail section instead of above it? I know it's incredibly counter-intuitive because when you open up Access in design view, you don't have a place to put fields to the left of the Detail section - you can either put it inside or outside. But is this somehow possible?
I thought of using a subreport, but then the next question would be - how can I make the subreport generate data that lines up nicely with the data in the Detail section of the main report?
Is this possible?
Update:
Image of what Access currently does.
http://imgur.com/tbr8jz4
Image of what I'd like it to do.
http://imgur.com/WA9TbTI
Basically, I just want to show the stuff from the grouped section to the left of the detail section. It would not be repeated for each record.

Filemaker with Html table layout

I'm designing a form layout in FileMaker, and I'm spending a ton of time just trying to get all the controls in the right spot. Is there some way of doing a table layout? I just want to say "this control is in this cell" and let the table take care of all the formatting. Instead of having to set the position on each object just right.
What I Have
A form with a bunch of fields, organized in a table manner, i.e., rows and columns.
Example:
What I Want
To not have to specify the exact position of each individual control. Every time one element moves or needs to resize, it ends up screwing up the entire row, column, or "table", and I end up needing to move every field individually accordingly.
Is there a better way to organize fields in a form like this so that I don't have to manipulate the position and width of every "cell" in a row or column individually?
I think this is made easier with the use of the Inspector in layout mode. In particular, the controls in the "Arrange & Align" section on the "Position" tab of the inspector.
For example, you can quickly select all fields on the same "row" and align them to the top and make them the same height and width as needed.
If you are using FM 13, you may also want to make use of styles to make it easier to set the same formatting quickly across similar objects.
If you're a web developer you might want to experiment using the WebViewer. You can use Javascript for creating a nice table. Then you can interact with that table through calling a script in FileMaker.
Or just stick to a portal like Michael.Hor recommended.

How to display two grids with different data on the same form

I have a form with two grids. I have one table with rows where each row has a status of Yes or No. I'd like to display all the yes's in the top and the no's in the bottom grid.
A similar scenario would be if I wanted to show SalesTable header records. The top grid would be only those with a status of Delivered, and the bottom grid those with a status of Invoiced.
How can I accomplish this?
I've gotten close by adding another datasource of the same table type. I add a QueryBuildRange to filter the records but I get two issues:
When I click on a row in the top/bottom, it moves both row lines at the same time (the highlighting thing
It wants to show an equal number of top rows as bottom rows for some reason?? If I have 3 delivered sales orders, and 5 invoiced sales orders, it will show 3 in the top and 3 in the bottom.
Seams like the Grid-controls are being controlled by the same DataSource.
Check the properties of the Grid-control: make sure they are not set to the same DataSource!
Anyway, it would be helpful to know how the Form is structured and how the QueryBuildRange was added.
I created a very simple Form and it worked correctly:
added two Datasets with T-SalesTable each
added two Grid-controls to the Design (or to a TabPage, both worked)
adjusted the DataSource-property of each Grid to point to each DataSource
added fields (the AutoReport group) from the corresponding DataSource to each Grid
this one worked correctly (despite having the same contents. Then I
added a range in the init method of each of the Datasets
and it still worked.