Disabling Rows in JTable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gaya3
    New Member
    • Aug 2007
    • 184

    Disabling Rows in JTable

    How do i disable particular row in JTable?

    -Thanks & Regards,
    Hamsa
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by gaya3
    How do i disable particular row in JTable?

    -Thanks & Regards,
    Hamsa
    Have a look at the isCellEditable( ) method in the TableModel interface.
    It's the responsibility of your TableModel to en/disable particular cells.

    kind regards,

    Jos

    Comment

    Working...