Tags:
create new tag
, view all tags

Question

I am using EditTablePlugin to edit the table. The options of rth edit table are Save, Quiet save, Add row, Delete last row, Cancel.

I want to remove the button "delete last row" in my plugins. Please advise on how can I do that?

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris9
Web server: apache1.3
Perl version: 5.6.1
Client OS: Windows
Web Browser: IE
Categories: Plugins

-- BhuvanaAradhya - 08 Sep 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

As documented in EditTablePlugin you can do that with a changerows="add" parameter.

-- PeterThoeny - 08 Sep 2006

How can I modify the table, so that I can delete the selected rows only ? like bullets in front of each row to select for deleting ? How can I change the colors of border and table background. I am unable to change to any colors and always get alternate grey and white rows.

-- BhuvanaAradhya - 12 Sep 2006

Someone posted a patch for this, but it is not yet in the release. See EditTablePluginDev topic.

-- PeterThoeny - 12 Sep 2006

Thanks for the edittable plugin enhancement. But I am still not able to change the color of the alternate rows of the table.

If I include following lines,I get color rows in the table , but I lose SORT option of the table. I cannot sort the table by clicking on its column header.

No. Identifier Description Language Status Time
1 RuleCode# init vhdl agreed 13 Sep 2006 02:34

-- BhuvanaAradhya - 13 Sep 2006

That is because you have specified headerrows="2" footerrows="1" in the TABLE variable. Remove it and you should be OK.

-- PeterThoeny - 13 Sep 2006

Thanks for the solution.

-- BhuvanaAradhya - 18 Sep 2006

 
Change status to:
Topic revision: r7 - 2006-09-18 - BhuvanaAradhya
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.