AdvancedDataGrid Row Highlight in Flex - actionscript-3

I am working in Adobe Flex 4.6 web application. I have a AdvancedDataGrid. I want to highlight multiple row in red border. If multiple row is highlighted in AdvancedDataGrid and i click or select any highlighted row or non highlighted row. Highlighted red border should not remove from these row and selected row(which i select or click) should not get highlighted. How can i implement this functionality.
See the below image :
Please help me. Thanks in Advance !!!

Related

Is there a way to make a rectangle not appear in the first page in ssrs?

I am creating a report on ssrs.
I have a rectangle with a textbox inside of it, that I want to hide on the first page. This is because I have another description of the item, with an image next to it, that only appears in the first page. Below this there is a tablix with details of the item, it can contain a variable number of rows.
The problem is I'm not able to hide the rectangle with the textbox in the first page only. I tried using global variables like PageNumber but you can't use it in the report body ( I tried many workarounds for this but none worked). I also can't just place the two rectangles I need to show on the report header because that only shows the first item (can't link it to dataset).
So what I'm asking is how to hide the rectangle? In the Image I linked the rectangle I want to hide on the first page is the grey one and the one that only shows in the first page is the pink one.
Thank you for you replies.

dropdown rows in primeng table

I would like to create table with many rows but only one should be visible, rest should be hidden.
After clicking on one of arrows rows should appears below or above main row depending if this is "up" arrow or "down arrow"
I'm using angular and primeng. Do you have some ideas how to achieve something like that?

Showing different text on dropdown selection vs dropdown options

I have a requirement where my drop-down values in my select are an expanded div which has 3 lines. For example my options Could be something like below
Honda Accord
19'
Blue
--------------
Honda Civic
17'
Red
This is what my dropdown would look like when expanded. So instead of regular one line option I have a div with more detailed options. The challenge I am facing is when making my selection (I can correctly display the grid as above) my dropdown selection value shows as the context of the whole div. So for example my dropdown after selection would look like this.
[Honda Civic17'Red]
I am using Angular Material for my dropdown. Is anyone aware of a way to set the selection to another value than the option text? For example I would like my dropdown when selected to display [Honda Civic] instead of [Honda Covic17'Red].
Any help would be appreciated.
Thank you.
You can customize the display of the selected item using MatSelectTrigger. An example is provided here: https://material.angular.io/components/select/overview#customizing-the-trigger-label.

SSRS Hiding the textbox in a table cell causes the borders to disappear

I have a report with a table in it. And each table cell has borders around it.
The problem I'm experiencing is that if I hide the textbox in any of the cells, the borders also disappear.
I want the textbox to hide but still show the borders.
The textbox in question shows the visibility toggle icons (+/-) so I can't use an iif statement to change the textbox's value to be an empty string when I don't want to see anything in it.
You can place the textbox inside a rectangle.
***So , I was having this same issue:* **
The Problem:
I assume that you placed a border around your text box and decided to place the hide and toggle element to your text box. or your Rows are not stepped down. Two solutions, I think the first solution is what you are looking for:
Solution 1:
I Noticed that SRSS reporting also has this grouping feature by rows. So to hide the text in the textbox without losing borders is to create a step-down feature within the grouping. So basically you can assign hide text box property without disturbing the rows above the textbox. This may be a better solution.
Solution 2:
You must instead place the border attribute to your text box and place the hide and toggle function on the individual groups. So for you, you have to remove the hide + toggle feature on the textbox. Right click the group element in your "rows" or "columns" and assign your drilldown hide + toggle feature on the group elements. In other words: "group properties" not "text box properties"
I hope this re-solve your issue.
I ran into the same issue. I solved it by changing the text color to white (or whatever the background color of the textbox is). I was doing this inside a table, and couldn't find a way to insert a textbox inside of a rectangle as stated in the other answer...
I had similar problem and used similar approach like #Anony Mous, but instead of changing text color to background color I used expression to change text value =IIF(InScope("RowGroup") = "True", Fields!Textboxvalue.Value, "") - and it works as expected.
Problem with background color change is that, if user unintendely select the text and makes it active, it become visible.
Just select the Textbox in question, run F4 (to access to the properties chart at the right side of VS or SQL), select the HideDuplicates dropdown and Select the Data Set that you are using :)

Get rid of group icon without hiding column

We have a report that gets populated by stored procedure. In the datatable we have a column "RowType" which is set to either 1, 2 or 3.
1 : Normal data row
2 : Important data row (In the picture this is the 1st row of data, the bold one)
3 : Devider rows. These are the rows with which we are having some issues. They are the two rows at the bottom of the image with the grey background.
The entire report is styled by either the "RowType" value or some of the other items in the datatable.
The Problem:
We have decided to change our report to make use of grouping, instead of drill down reports. I'm not going to go into the reasons for this decision.
The grouped rows each have a little icon to the left of it (Generated by report server) which is used to view the details of that row.(Sorry about that, pretty sure you know all this).
I have coded the "expand icon" to be hidden on rows that does not have detailed/grouped data, but that left me with the problem that the grey column would now also be hidden which leaves me with a blank white space instead of the grey cell.
Obviously this makes my report look horrible. Is there any way to remove the icon for a particular row without setting the Hidden property to True?
If not, is there a way to have the report row fill the background of a hidden cell with a defined colour?
The bottom right corner contains an example of what it looks like when one of the grey cells have been hidden. The bottom left shows the report with the unwanted icons in the grey cells
I think you could cut your current textbox out (the one with the +- icon, then add a rectangle from the toolbox into that cell, then paste your textbox back in. That way the texbox becomes a child of the rectangle. Then you can move your grey formatting to the rectangle, which will never be hidden.