CustomFieldValueCells firing before CustomCellDisplayText - devexpress-windows-ui

DevExpress WinForm Pivot Grid.
I am setting custom display text for cells of a data area field Diff in CustomCellDisplayText event. I then want to hide Diff columns that have all blank display text. I am hiding the blank columns in CustomFieldValueCells event. However, CustomFieldValueCells event gets fired before CustomCellDisplayText event when display text has not been assigned yet and Diff cells are still blank. This means all Diff columns get hidden.
How can I assign custom display text to Diff cells and then hide the Diff columns that have all blank/zero cells?

Related

Display/Hide cell in table using Birt report

I Have two cell in one row.
I want to show and hide based on condition.
For cell visiblity expression option not showing this is showing only for text/label.
In the script I am adding
if(params["chk"].value == "both"){
this.getStyle().display = "none";}
Any solution please?
You cannot hide a cell. This wouldn't make sense. You can hide the content inside a cell, or you can hide whole rows or columns.

Disable Column Cell Selection

I would like to make a column not be able to be selectable. I currently have icons in the column and whenever the cell is clicked it gets the clicked effect. The icons trigger a modal window, so when the window is closed the cell has the clicked effect. Is there a column definition that disables the cell selection of all cells in the specified column?
Add this to your column definition to override the border style that's applied to the cell on focus
cellStyle: {border: 'none !important'}

Whole row editable on click of a row in GWT editable grid

I need to implement a functionality like onclick of a row, whole row must become editable.
For eg: Currently I have 4 columns, each column have edittext cell as the datatype (element). Onclick of a row, each edittext cells must be in edit mode (input mode). Can this implementation be done??
Currently when we click on each component it opens in input mode, but i need to have input mode for all cells on click of a row.
Please suggest and give some ideas.
I think you could do the job with some things in the "databinding" part of GWT :
com.google.gwt.editor.client.Editor

Creating Form Control at Cell Location with VBA in Excel

Reference
I am using ActiveSheet.Buttons.Add() to add format control buttons to a worksheet. This method suffers when I have to add several buttons with a certain horizontal distance between them and column widths change, causing a slight drift between buttons.
I would like to instead use a cell reference which would prevent this drifting caused by column width changes.
The syntax is
ActiveSheet.Buttons.Add BUTTON_LEFT, BUTTON_TOP, _
BUTTON_WIDTH, BUTTON_HEIGHT
This will create a button at the active cell. Change as possible.
ActiveSheet.Buttons.Add ActiveCell.Left, ActiveCell.Top, _
ActiveCell.Width, ActiveCell.Height
EDIT: Beaten by Tim!

Problem with conditionally hiding rows of a grid in generated PDF reports

I am generating PDF/HTML report from a BIRT template.
I am using "visibility" property to hide a grid row conditionally. It is working fine and that row is hidden in generated report.
But, I am getting a bottom border missing from the upper grid row in my PDF report and although HTML report is generated perfectly fine.
To understand it see below, for example my report looks like following when visibility is 'true' for row containing location element.
Name
Description
Location
verdict
and after visibility is 'false' for 'Location' row, it is showing as following in generated report.
Name
Description
verdict
The grid line between Description and verdict is missing.
I am using BIRT 2.1.2. Is this a known problem in this version?
Please help.
How are you implementing the separator line? Are you just creating a border around the grid cell? That entire cell/row is getting suppressed along with the border.
To get the effect you want, try applying your visibility rule to the data (text) item itself rather than the Grid element. You could also add a horzzontal rule to the end of each of the text elements to insert a divider that would not be affected by the grid's visibiltiy.