How to render multi row grid header and its corresponding data in ng-grid? - ng-grid

As a part of my requirement, I would like to display multi rows as header and its corresponding values in the grid.
Example: In a two column grid, its should display in the 1st column header "First Name" & "Last Name" one under the other and in the second column header "Date of Birth" & "Age" one under the other. Also the corresponding data values should display in each column for the corresponding header.

I got the solution for this. Please see plunker: http://plnkr.co/edit/fGVVOOIwvf4GrEj3XtJ6?p=preview

Related

How to display multiple columns in another tab but based on a display on a unique value on certain column

I am having trouble displaying the information from another column in googlesheet. I would like to display all the raw data per columns but based on a unique value on certain column. As you can see on column D, those highlighted parts are duplicate values.
enter image description here
I have tried using this formula =UNIQUE(SORT('Supervisor Queue V2'!A2:N,4,TRUE)) but it still display the duplicates on column D. Any help would be appreciated. Thanks in advance.

Conditional Data Validation in Google Sheets, limit second drop-down based on first drop-down

I want to select a category in a drop down, then limit the next drop-down in that row to items only in that category, then lookup the value for that item and display it from a data table. I would prefer to avoid scripting if at all possible. I swear I've done it before, but maybe it was in Excel...
I have a table where first column represents category and second represents item. Categories are non-unique, Items are unique. I want a "selection" sheet where the first column chooses from available Categories in the first column of data and second column chooses from Items that have that category in column 1 in the data table. Pictures to show desired end result, but set manually. How do I make this happen dynamically? In this case, I cannot have a header of "A, B, C" with the items listed below, as each item has it's own value that will be pulled with a lookup in the third column of the selection area.
In selection area, first column has "A" selected, so options are only "Z", "X", and "Y" for second drop down.
In selection area, first entry now has "B" selected, so options are only "W" and "V" for second drop down.
You can do it with a combination of named ranges and =INDIRECT()
Workflow:
Go on Data -> Named ranges and create named ranges in column B corresponding to each different value of column A
In column E, create a data validation with column A as range
Select a dummy column (e.g. D) and paste the formula =INDIRECT(E1) - this will display in this column the data belonging to the named range chosen in column E
Create a second validation in column F taking column D as range
This will result in a dependent dropdown - you can set the auxilliary column D to hidden.

Oracle APEX: URL column in interactive grid cannot be edited

I have an interactive grid in an APEX application, and one of the columns (header ATTACHMENT) has URLs that open in a new tab. However, as part of the functionality of an interactive grid, I am unable to edit the URL within this column. All the columns are editable, but since I changed this column to a 'Link' the user cannot edit it. I also tried single row view, but same.
Is this possible?
Thanks
See my interactive grid
How about specifying the same column (attachment) twice? One would be used for editing purposes, and another one as a link. Something like this:
select
id,
attachment edit_url,
'Link' link_url
from your_table
ID is the primary key column
EDIT_URL is a usual Text Field
LINK_URL is a Link column
its "Query only" property has to be set to "Yes"
"Escape special characters" set to "No"
When you run the page, it'll show 3 columns; EDIT_URL will be editable. Once you modify that column's value and save the changes, LINK_URL will reflect that change and - when you click the "Link" word in that column, it'll lead you to the modified URL.

How to pass value to jqgrid toolbar search box

I would like to pass a search value to one of the columns in the jsgrid. Can this be done?
Say I have a grid with the following columns:
City, Size, and Postal Code
I would like to pass in a postal code value to display in the toolbar search box and then run the search.
You can access the text fields of the searching toolbar by ids. The id of the filed will be build based on the value of name property of the column in colModel and the prefix "gs_". For example if you have columns with name="city" then to set the value "London" in the corresponding input field you can use $("#gs_city").val("London"). After you set all the values which you need you can trigger change event on any of the elements of the toolbar to apply the filtering on the grid. Alternatively one can call triggerToolbar method saved on DOM element of the grid: $("#gridid")[0].triggerToolbar();.

BIRT Reports column not spanding the whole row as desired

I am fairly new to BIRT reports.
In the BIRT reports designer I have added a 2nd row to my table which is binded to a data set. In this 2nd row I want 1 column from my data set to take up the whole row.
So what I did was to add the second row and merge all the columns in that row to form one column. I then added a text field with Dynamic HTML Text.
<VALUE-OF>row["ITEMDESCRIPTION"]</VALUE-OF>
The problem I have is that the data is not taking the whole row. It is being wrapped into only a small section of the row. I must be missing something. Can someone help me with this pls.
I'm attaching both the way the end report looks like and also the screenshot of the set up in the designer.
End Result
Designer (you can see all the rows merged in the second row of the table and in the properties i can see a colspan of 10 for that single column)
thanks
I've found out that the asnwer to this question is to make the field element inline style rather than block and also to check the No Wrapping check box for this field int he designer.

Resources