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 8115049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:20:12+00:00 2026-06-06T03:20:12+00:00

Is it possible to disable or enable subgrid based on the selected value when

  • 0

Is it possible to disable or enable subgrid based on the selected value when using edittype:”select” ?

basically it will look like this

dataEvents: [
{  
  type: 'change',
  fn: function(e) {
  var thisval = $(e.target).val();
 if ( thisval == 'A' ) { 
 // enable subgrid
     }
 else {
     // disable subgrid
     }
  }
}]
  • 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-06T03:20:13+00:00Added an answer on June 6, 2026 at 3:20 am

    Temporary solved by using :

    if (thisval =='A'){
      $('#'+lastsel+' > td').addClass('sgcollapsed');
      $('#'+lastsel+' > td.sgcollapsed >a').show();
    }
    else {
      $('#'+lastsel+' > td.sgcollapsed >a').hide();
      $('#'+lastsel+' > td').removeClass('sgcollapsed');
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to enable/disable push notifications for the my app programmatically using a
I'm using JavaScript to enable/disable stylesheets using the following: document.styleSheets[0].disabled = true|false; This JS
Using validateUserInterfaceItem it is possible to disable/enable a menu item but I need a
Possible Duplicate: How to enable or disable an anchor using jQuery? I'm having a
Is is possible to enable/disable firefox addons from an external application, preferably without using
Using C# (.net Framework 4.0) and Windows XP is it possible to enable/disable a
Is it possible to enable or disable the sql server agent using t-sql?
Possible Duplicate: How can I disable/enable UISearchBar keyboard's Search button? Can we disable the
Is it possible to disable the OData support? I dont want this automatism because
Is it possible to disable retries in NServiceBus, version 3.2.2? Using the following configuration,

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.