Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

JTable - selected row; How to select a cell in the row for editing

hrabiatchrabiatc Member Posts: 5
What do I've got? :
JTable + few rows + few cells in every single row;
only cell in a column 3 has a JTextField inside; the rest of the cells in a row are read-only

My problem is:
user clicks a mouse on single row ->
row is setting selected ->
doesn't matter which cell has been clicked at the row...only one has to be selected (nr 3) and set up for editing


Thanks for any help :)

Comments

  • chamsterchamster Member Posts: 662
    : My problem is:
    : user clicks a mouse on single row ->
    : row is setting selected ->
    : doesn't matter which cell has been clicked at the row...only one has to be selected (nr 3) and set up for editing

    Selecting a row isn't the same as editing it so... Why does it bother you that the entire row (of which only a part is editable) get selected?



    Kind Regards
    Konrad
    ----------------------------
    (+46/0) 708-70 73 92
    chamster@home.se
    http://konrads.webbsida.com

  • Andre YoungAndre Young USAMember Posts: 0

    _______ || http://forcoder.org || free ebooks and video tutorials about < Ruby C++ Objective-C MATLAB Perl R Java PL/SQL Scratch Go Swift C# JavaScript C Python Visual Basic Delphi PHP Assembly Visual Basic .NET Dart Clojure ML Lua D Fortran SAS Hack Alice Prolog Transact-SQL Erlang Julia COBOL Rust Scala Crystal Logo Bash FoxPro Scheme ABAP Kotlin Apex F# LabVIEW Ada Lisp VBScript Awk /> ________

Sign In or Register to comment.