Why is my cfgrid showing extra space to the right? - coldfusion

I have a cfgrid with 5 columns. The funny thing is, it's showing a sort of extra column to the right, but without any of the formatting that applies to the rest of the grid. I can't seem to get rid of it by playing with the width of the grid or the fields... How can I get it to go away? (It shows up in Firefox and IE, but not in Chrome)
I'm attaching a screenshot of the grid to show what I mean.

It's because you have autowidth="true" set on the cfgrid.

Not having access at the code, I can only make an assumption. I believe you have your last column "centered" by using dataalign="center" within your cfgridcolumn. But did you add headeralign="center" to that cfgridcolumn? It fixed my issue.

Related

Oracle APEX 21.2.6 Interactive Grid - double-click to edit popup LOV shifts data rows over. How to prevent this?

I have an IG display that looks like this without clicking anything else:
Only Supervisor, and Direct Supervisor are editable, and they are both Popup LOV's.
If I double-click the Supervisor data, and immediately type any letter for the Popup LOV search, the data row(s) display shifts to the left like this:
It doesn't matter how wide the window is when I test this. I've been looking for ways to prevent that shift. Do you have any tips to resolve that?
Thank you
I've since learned that this is a known issue, and a bug report was logged: https://community.oracle.com/tech/developers/discussion/4340268/apex-20-1-popup-lov-in-interactive-grid-causing-issue/p1?new=1
I've also noticed that it seems to happen from a single click plus typing to search - not necessarily from a double-click.
Finally, freezing a column or two in place in the IG display appears to prevent the visual shift of the columns.

Oracle APEX - Interactive Grid not rendering correctly in IE 11

I am currently using Oracle APEX version 18.2.0.00.12 on Internet Explorer 11 and I am experiencing problems with getting my interactive grids to render correctly with regards to the widths of the columns.
I created an Interactive Grid on my page with the following query:
SELECT * FROM TABLE_NAME;
I did not change any of the default settings for the region; all I did was create the IG and then run the page.
When I run the page in IE, this is what I see:
Note: I have not yet added any data to the table.
The problem is that all of the columns are too narrow. However, when I run the same page in Google Chrome, this is what I see:
The columns are all sized proportionally in order to take up the full width of the IG, which is what I want.
I do not understand why the IG is rendered differently in IE versus Chrome. I know that I can set the Minimum Column Width for each column in the IG, but I would hate to do that every time I create an IG. Is there a different solution that would make the IG render in IE the same way that it does in Chrome?
Thank you in advance.
Actually remembered a solutuion. I cannot explain to you why this works, or how best to use it. But when I had this problem I sort of patched it by saving a default report.
But the strange thing, you had to manually adjust every column, even if it was to the same size as before, it just had to have been adjusted before the default report was saved. Then the grid would show as it should, but this isnt that good a solution since its only ok if everybody uses the same size display,..

Missing values in PowerBI slicer

I have a problem in my cube with a dimension value as a slicer or a filter. It has no and name and I want to slice on name, but some of the values are missing. It is the same problem if I use no. If I use no as a filter and use advanced filter to search for the specific no the data works, but the slicer for name is still empty. The strange thing is that I can see the no and name fine in the data area, just not in the filter or if I use a slicer.
I have the same problem in PowerBI desktop and in the online version.
Edited:
I have several facts using the same dimensions. I have found that a disabling a specific relationship from a fact one of the dimensions makes the problem disappear. The number of values in the slicer are a bit too many, but at least now it doesn't exclude some of the values I can see. The only problem is that I need the relationship. I have checked if there should be a problem with the values for the relationship such as missing or null values, all the values are there.
My colleague found the solution for my dashboard: when you go to the options of the X axis there is a Start and End box. In my End box there was a number, which caused the last value to disappear. When I removed this number (and Auto appeared), my graph was complete again.
Removing and adding the problematic fact table again solved the problem.
It was quite hard to find out what was causing the problem to begin with. I went about it by first creating a minimal cube to make sure that the core data was correct. After verifying that, I opened the problematic cube and starting removing facts and dimensions until the problem disappeared.

ColdFusion - POI setCellStyle without affecting it's existing style?

I have a cellStyle created for the Excel file to have row striping. I also want to set any cells with numeric values to RIGHT ALIGN. I can accomplish this by checking the value of the cell, and if numeric I setCellStyle(styleRightAlign) where styleRightAlign is the name of my right align cellStyle.
However, this overrides the existing style and my cell no longer has the correct background color. It's right aligned correctly, but how can I just "add" a cell style rather than override the existing?
Is this possible?
I've looked at using the CellUtil setCellStyleProperty method but I'm unsure how to create an instance of this in ColdFusion, and if it is what I need for this.
UPDATE
So it looks like CF 11+ have the CellUtil available, but CF 10 does not. Figures. So I'm creating a separate style with my row striping for alignRight that includes the background color. If anyone has any ideas how I can just align the cell without affecting the existing cellStyle on it, I'd love to hear it.

Infragistics WebDataGrid column layout not maintained on Insert and Delete

I've come across this weird issue with the Infragistics WebDataGrid control.
When the grid starts, it appears ok, headers on the header row. There are no entries, so the only row displayed below is the "add" row.
I then load data into the grid from my AJAX code-behind. It appears ok. The 3 new rows appear, the "add" row sits below. Everything clean.
I then click the delete "x" in the 2nd row (sidenote: this is a template column and is the first column in the grid, so why it appears at the end I do not know). The AJAX kicks in and the 2nd row is removed. But the grid refreshes odd. It looks like a new column has appeared on the "add" row, which has thrown the other rows and header out.
It is functionally correct, but visually a mess.
NOTE: This also happens when you add a new entry from the "add" row.
FYI - I have followed pieces of Craig Shoemaker's example, however I bind my datasource in the code-behind, amongst other changes. (http://community.infragistics.com/aspnet/articles/webdatagrid-client-side-crud.aspx).
Anyone know what causes this / how to fix it?
Chris,
I tested this and I wasn't able to reproduce this. I would recommend that if you can still reproduce this you post the issue on the Infragistics forums with the code that you are using so that we can look into it further.