Table containing another table (hierarchical table)
Questions tagged [nested-table]
236 questions
1
vote
0 answers
C++ Reading nested table from lua segfaults
I'm using the following function to traverse a Lua table and read it into a `Json::Value
Json::Value EncodeTable(lua_State* L, int index){
Json::Value node;
//The solution: change lua_pushvalue(L, -1) to lua_pushvalue(L, index)
…

Dirk
- 2,094
- 3
- 25
- 28
1
vote
0 answers
Dynamic table-width doesn't adjust properly
I'm trying to build a genealogy tree with HTML tables (and nested tables). It should, ultimately be editable by the user using contenteditable, and the nested cells should resize accordingly.
However, to my mystery, when I edit the cells, they…

mheim
- 366
- 1
- 12
1
vote
1 answer
How do you query a nested type field from a record set returned from a function?
I have the following types defined:
TYPE N_TXT IS TABLE OF VARCHAR2(300);
TYPE N_TYPE IS RECORD ( FIELD_1 VARCHAR2 (100)
, FIELD_2 N_TXT);
TYPE T_TYPE IS TABLE OF N_TYPE;
And created a function to return a table record…

one23
- 51
- 1
- 2
- 3
1
vote
0 answers
Nested Table Comlex JSON Jquery Template
I am using entity framework LINQ to dispaly department,process and check info. Each Department has multiple process and each process can have multiple check. I want to dipslay the data in a manner that department will be display only once for…

user2155603
- 13
- 4
1
vote
1 answer
Reading Lua nested tables in C++
I'm creating a C/C++ function which will be called from Lua. My function must call a library function who's signature is like this:
void libFunction( int val1, int val2, tSETTINGS * pSettings );
I'm given these C/C++ structs:
typedef struct
{
…

halm
- 104
- 3
- 10
1
vote
1 answer
ORA-22912 specified column or attribute is not a nested table type /oracle creating nested table
I was working with OODB and tried to make a nested table using two tables. I am posting code here
create type BranchType as object(
address AddrType,
phone1 integer,
phone2 integer );
create table BranchTableType of BranchType;
create type…

Shivam Dhoot
- 151
- 10
1
vote
1 answer
Insert data into nested table
May I please have some help to Insert values into a table. The table is called PurchaseOrder_objtab. Here is the type for the table:
CREATE TYPE PurchaseOrder_objtyp AUTHID CURRENT_USER AS OBJECT
(
PONo NUMBER,
CUST_ref REF Customer_objtyp,
…

user2381256
- 101
- 2
- 2
- 5
1
vote
0 answers
Oracle Nested Table that is populated through a query
Is it possible to automatically populate a nested table through a query? Maybe through a materialised view? Like f.e
CREATE OR REPLACE TYPE also_bought_type AS OBJECT (
also_bought_movie REF MOVIE_TYPE)
/
CREATE OR REPLACE TYPE…

bicycle
- 8,315
- 9
- 52
- 72
1
vote
3 answers
100% wide table inside div doesn't like margins
It seems that when I have a table inside a div and I set the table to 100% width and give it some margin, it seems to disregard the rightside margin. Here is the fiddle for it:
http://jsfiddle.net/gFQGb/

Paul C
- 13
- 3
1
vote
2 answers
Constructor for nested table with oracle
I want to create a constructor for the 2 types below. Here's the code:
create or replace type toys_t as table of varchar2(40);
create or replace type kid_t as object (
name varchar2(10),
toys toys_t,
constructor function kid_t…

Bob darkside
- 13
- 1
- 5
1
vote
1 answer
Join nested table and normal table to fetch the result
I am having a normal table temp and a nested table temp_nt
Temp
-------------
ID Status
-------------
1 open
2 close
3 open
4 open
5 close
---------------
Suppose my nested table is having list of ID, X
Lets say the…

Gaurav Soni
- 6,278
- 9
- 52
- 72
0
votes
3 answers
Nested table primary and foreign key in Oracle
I'm trying to add a primary and foreign key to a nested table, struggling to know how.
This is what I have;
create or replace type profile as object
(
id VARCHAR2(10), --- Suppose to be Primary Key
userID VARCHAR2(10) --- Suppose to be Foreign Key…

user1165419
- 663
- 2
- 10
- 21
0
votes
2 answers
Oracle, object table & nested tables
Say I have 2 objects MY_OBJ, MY_NESTED_TABLE_OBJ
CREATE OR REPLACE TYPE MY_NESTED_TABLE_OBJ IS TABLE OF VARCHAR2(100);
CREATE OR REPLACE TYPE MY_OBJ AS OBJECT (
simple_atribute NUMBER(6),
table_attribute MY_NESTED_TABLE_OBJ,
MEMBER…

Iftimie Vlad
- 199
- 1
- 2
- 12
0
votes
0 answers
Nested Tables design doesn't work on print button in jQuery datatable
Nested table designs are shown as same in html template but the problem is when I click a print button then not show the nested table's correct design.
Here is my project test case link:https://jsfiddle.net/motalibhossaib/hfn8kd6c/1/