Is there a way to change the way we view child table

i have a table where the child table data is captured in the parent table via isapartof โ€ฆ

i want to know is there a way we can change the child table appearing based on the status of a previous entryโ€ฆso that when i click retailโ€ฆi get retail child tableโ€ฆwhen i click distributorโ€ฆi get distributor child tableโ€ฆ

Solved Solved
0 12 1,187
1 ACCEPTED SOLUTION

Hi ,

Do you see following columns at the bottom of parent table 's (The table name โ€œDataโ€ in your shared sheet) column list under option Data-> Columns in the app editor
Related Realtors
and
Related Distributors

Please have expressions in Show_if constraints of those columns

View solution in original post

12 REPLIES 12

In general, if the child tables are belonging to the same parent table , then I believe you could have an enum button in the parent table that has options like retail, distributor etc. You could then use enum options of that button in show_if constraints of the list type reverse reference columns for those child tables.

You may wish to share more details if you are looking something in specifics.

Will surely share more details sir once I get back to my laptopโ€ฆreplying via my mobile now

Could you give me more detail on how to achieve thisโ€ฆ

My use - case is as below,

  1. My user enter details regarding type of customer met,
  2. then he selects the type of customerโ€ฆi.e. Retailer, Distributor, New Customer etcโ€ฆ
  3. based on the above selection which would be a enum list, i want the child table that each of the types as in point 2 (each of the type have separate sheets) has to be displayed.

i.e. when he selects retailer, the child table appearing below has to be retailer,

if he selects Distributor, the child table appearing must be distributors and not of Retailersโ€ฆ like in screenshot below, I want this table in mine show depending on the enumerated list I create before the table

I am not understanding your reverse ref. typeโ€ฆ

Please Help

Hi @DPM_reports,

Reverse reference columns are automatically created by the app editor in the parent table, whenever you create a reference to the parent table in any other (child) table. These are virtual columns of list type. Please go through the following article and especially section โ€œReverse Referenceโ€

In the example shared by you from the sample app โ€œOrder Captureโ€, โ€œOrder Detailsโ€ is the reverse reference column in the parent Orders table. You can have expression in the Show_if column of this Order details column in the parent table. For example [Order Status]= โ€œCompleteโ€ or in your case , [Customer Type] = โ€œRetailerโ€ , if [Customer Type] is an enum type column.

this show_if constarint should be in which table the child tableโ€ฆis itโ€ฆwhere i have selected the column value isapartofโ€ฆ

if not where to mentionโ€ฆpls guide me

Hi,

It should be in the parent tableโ€™s reverse reference list type columnsโ€™ show_if constraint property for respective child tables.

i am not able to understandโ€ฆ

for ref. here is the link to my Google sheetโ€ฆ
in this the data clumn is my parent sheetโ€ฆ and the remaining 2 are my child tablesโ€ฆ

can you guide as to where i have to put in the show_if constraint as mentioned by youโ€ฆ

Hi ,

Do you see following columns at the bottom of parent table 's (The table name โ€œDataโ€ in your shared sheet) column list under option Data-> Columns in the app editor
Related Realtors
and
Related Distributors

Please have expressions in Show_if constraints of those columns

Just one more info requiredโ€ฆ

How can we stop the add/new button from appearing after date changes so that no new entries are made in this

Could you please add which date change you are looking for in the example- Order Date or Delivery Date? And what you mean by change? I mean what condition you have in mind to signify change of date - change to a particular date- say month end, week end or later or earlier than today

i want to remove the add button in the child table after a certain condition is metโ€ฆlike for instance for a particular row as in the screenshot order dateโ€ฆwhen order date is todayโ€ฆi want the add button to be showingโ€ฆbut when calender date changes and the order date is yesterdayโ€ฆi dont want the add button to show in the child tableโ€ฆ

hope i am able to convey me needโ€ฆ

Hi @DPM_reports,

I believe we had discussed the similar topic in the post below. Did you get a chance to try that please?

Top Labels in this Space