• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jqgrid: Get column count after selecting in column chooser

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi There,
I'm new to web development, Jquery, JqGrid. Kindly bear with me and pardon my naive queries.

I've column chooser working fine in my gird.
My code looks like:


I've multi check boxes enable in the grid for rows. What I'm doing:

1. select all the rows
2. select column(s) from column chooser
3. Hide all columns

I'd like to uncheck all the rows if none of the columns are shown.
How do I attack this problem?

Any help will be greatly appreciated!!
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Haven't used JqGrid but have you look at the docs here?

From the doc, the "resetSelection" method should do the trick.

reply
    Bookmark Topic Watch Topic
  • New Topic