Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

For Jide table stop editing for one row only other rows should be enabled  RSS feed

 
shikhaj jainy
Ranch Hand
Posts: 35
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a table (jide table), in that based on one parameter i need to disable first row for editing (not allowed) and other rows should be allowed for editing.

Below code is for whole table:



if i want editing to be stopped for first row only(based on param) so how to get first row from jidetable.(panel.getMainTable()... or something else)


Please let me know how to go about it.

Thanks a lot.
 
Campbell Ritchie
Marshal
Posts: 55715
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a Jide table? I Have forgotten almost everything I knew about tables, but I am sure I haven't see that one before. Please supply a link to its documentation.
 
shikhaj jainy
Ranch Hand
Posts: 35
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This is the link:

http://www.jidesoft.com/javadoc/com/jidesoft/grid/HierarchicalTable.html

So this is extending from JTable only...so how can i disable first row of jatble based on some parameter from db.

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!