Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    CheckBox Status

    Is there any way, to get the status of the ListGrid checkbox current status ?
    If I want to know, the checkbox is checked or not, how to know ? through programming way ?

    #2
    getValueAsBoolean.

    Comment


      #3
      Thanks! How about the way to get the status of the top most check box ? Certainly I can get the status of every row to verify the topmost on. But if we don't want to do so, is there alternative way ?

      Comment


        #4
        What is "the ListGrid checkbox"?

        You may be referring to inline editing, if so, use the editValues-related APIs (eg getEditValue()).

        Comment


          #5
          Sorry, let me state it more clearly....
          As the attached file, I meant , how to get the status of the checkbox beside Flag on the first line.
          Attached Files

          Comment


            #6
            There's no shortcut other than iterating down all rows and checking the flag for each field. Be sure to consider the case that not all data has been loaded yet - look at ResultSet.lengthIsKnown(), rowIsLoaded(), etc.

            Comment

            Working...
            X