Author Topic: How to add new row to Hierarchy /Sub grid?  (Read 3146 times)

nuno.nogueira

  • Pro Economy
  • Jr. Member
  • *
  • Posts: 95
    • View Profile
How to add new row to Hierarchy /Sub grid?
« on: February 22, 2014, 01:05:18 am »
In your demos, you show an example of a hierarchy with sub-grids.

How do you add a new row to a certain sub-grid.

For example, how to add a new product to Germany?

Thanks!
 :D

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to add new row to Hierarchy /Sub grid?
« Reply #1 on: February 24, 2014, 05:08:12 pm »
There is a post similar to your question:

http://paramquery.com/forum/index.php?topic=423.0

Please let me know whether it answers your concern.

nuno.nogueira

  • Pro Economy
  • Jr. Member
  • *
  • Posts: 95
    • View Profile
Re: How to add new row to Hierarchy /Sub grid?
« Reply #2 on: February 27, 2014, 06:47:27 pm »
Thanks, but it doesn't solve my problem.

I have two categories:
  • pagamentos
  • recebimentos

Inside these categories I have several fixed subcategories.

I want the users to be able to add new subcategories, as long as they identify to which of the 2 categories above they belong to.

I thought about organising a table with hierarchy as per your example, but it doesn't seem possible to do as I'm unable to identify to which of the 2 categories a new subcategory belongs.

An alternative would be 2 tables (one for each category) but it doesn't look good.