Jump to content

Disable inline edit


Recommended Posts

On 12/26/2016 at 9:26 AM, bookish said:

Happy holidays again!  Is it possible to disable inline edits if field status is WAITLISTED? The inline edit for that particular field is a dropdown. Thanks!

Hi, Happy Holidays!

As far as I know, it's not possible, however there are several workarounds:

- you may filter records to exclude records with WAITLISTED status. This will let you show and edit only records with other statuses.

- allow editing records on details page. Add a virtual field, make it hidden and onload receive data source field "Status". After that create a rule:

Criteria: When value in virtual field equal to "WAITLISTED" 

Action: Make status field "Display only"

You can find more information regarding conditional forms here

Hope that helps :)

Link to comment
Share on other sites

Thanks a lot for replying! :D

As I cannot choose your option number 1 for some reasons, I did yesterday something similar to your option#2. I disabled inline editing, then allowed details page where I put status field under a new section. Then I placed a rule that if status is waitlisted, hide section 2.

 

Link to comment
Share on other sites

  • 5 years later...

Hi there, I was just browsing and wanted to provide you this information I learned from Caspio. I have an issue with my Tabular Datapage a few months back and I was trying to enable the inline edit options. However, I am unable to do so because it is disabled. Then, I discovered and one of the Support from Caspio provided me that when using a View as a data source, the inline edit option is expected to be disabled. So, they suggested to check my View configuration and select only one Table to be editable. From there, I was able to use the inline options. 

These are the articles that you can refer to: https://howto.caspio.com/tables-and-views/what-are-views/views/ and https://howto.caspio.com/datapages/reports/data-editing-options-in-reports/ 

Link to comment
Share on other sites

  • 1 year later...
  • 9 months later...
  • 4 months later...

Hi! If you would like to apply this article: https://howto.caspio.com/tech-tips-and-articles/disabling-inline-edit-option-in-reports-based-on-a-condition/ when Data Grouping is enabled.

You can change the code from 

const calculatedFieldPosition = 1

to

const calculatedFieldPosition = 2

 

1700735

 

Make sure that the Calculated Field (formula/condition) is in 2nd place of the DataPage Elements and the first is the field for Grouping.

Sample Result:

image.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...