Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9235761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:07:43+00:00 2026-06-18T07:07:43+00:00

I am trying to create a content type (say Meter). Each Meter consists of

  • 0

I am trying to create a content type (say Meter). Each Meter consists of a “Meter Reading”. This meter reading content contains three fields, say title, date range and usage. I have a Panel page where I display all the Meter Readings related to a parent Meter. I have displayed the Meter Readings in a tabular format.

I want the user to be able to add new Meter Readings without going to the default Meter Readings creation page. Rather than the default form kind of page, the user should be able to enter the data in the table view provided and it should be automatically saved into the project itself.

So, I want the functionality to be like:-

  1. Display all the meter readings with two links, i.e., Edit and Delete,
  2. When the user clicks on Edit link, the meter reading row should become editable and the user should be able to make the changes inline in the same table,
  3. In the footer there should be a link for adding a new meter reading and when the user clicks on it, a new blank row should be added dynamically to the table and the user should be able to make a new entry into it.

Is there a module in Drupal 7 for doing so?? I have already tried out several modules for this such as SlickGrid, jQGrid and jEditable

Any help would be great. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:07:44+00:00Added an answer on June 18, 2026 at 7:07 am

    Am afraid am not aware about a module that does all that out of the box. But in case you carry on with custom coding you can have a look at the following:

    1. Edit and Delete options per row in views

    Use Views Megarow. For working example you can have a look at how its used in commerce backoffice. Please note that you need to write the form structure ( FORM api ) for the quick edit form in a custom module. The Views Megarow takes care of ajax populating the edit form, its submission in client side, and refreshing the original row after the response from server.

    1. When the user clicks on Edit link, the meter reading row should become editable and the user should be able to make the changes inline
      in the same table.

    Views Megarow doesn’t support inline editing. But another module as suggested by @nmc does it. Its editablefields. But it doesn’t have any edit/delete button. You click on the text directly ( provided user has appropriate permission to edit the field data ) in view.

    In case you are going to use editablefields, then you would have to add another delete button in view, which one confirmation would redirect to the page that triggered delete action.

    Since delete button would redirect to a default confirmation page, you may want to code a custom delete action which may override this.

    1. In the footer there should be a link for adding a new meter reading and when the user clicks on it, a new blank row should be
      added dynamically to the table and the user should be able to make a
      new entry into it.

    I suggest creating a small ajax form. Create a “Add Meter Reading” button in it, which on submission would create a meter reading node in the server. The ajax form should have parent information in a hidden field ( i.e. the Meter id). The ajax response for this form could be another script to load/refresh the view on client side.

    Client side code to refresh the view can be found in Views Autorefresh submodule in Views Hacks.

    If using views megarow you would have to add another jquery function on ajax response after view is refreshed – Trigger edit button.
    Otherwise you may have to add some classes or theme to newly created rows in view to bring them to focus.

    It is important that the entire views refreshes, so that drupal behaviours are attached to the newly created entry in table.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decide whether to create many classes for each content type I
I have a custom content type with custom fields. I'm trying to create a
I have been trying to create a new content type for Plone based on
i am trying to create a lookup inside a Content type. Here is what
I am currently trying to create a content uploading system and although there are
I am trying to create a status window which content(textbox) should change in a
I am trying to create and automatic preview mechanism for some content entered with
I'm trying to create an ascx control that can wrap content like a panel.
I am trying to create a flip button that shows changing content on every
I'm trying to create an element in an XML where the basic content is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.