• 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

hwo to hide or display struts layout's datagrid tag

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,In the jsp i use struts layout's datagrid tag.



On page load,i want to hide this table and when the user selects this checkbox



the above table should be visible and when the user deselects the checkbox the datagrid table should be hidden.

could someone have an idea on this
thanks
 
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How about placing the entire datagrid inside a <div> tag, and setting the "visibility=hide" attribute for it at page load ? You can change it to "show" at the click/ selection of checkbox.
 
Bushra Binte
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
dawn,that works perfectly fine with plain html tags and not with struts layout tag <layout:datagrid>.Need to find another way out to hide and display struts layout tags.thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic