Announcement

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

    Grid and Checkbox selection

    In the grid we can checkboxes appearing on the left, as shown in showcase sample in the Showcase.
    we have a requriement to show the checkboxes to the right of the grid instead, could you please advise if that's possible, and any code snippet will be greatly appreciated.

    #2
    If you are doing this for internationalization reasons because you are supporting a language that is read right-to-left, just see the Internationalization docs on how to enable RTL (Right-To-Left) support, and this is automatic.

    Otherwise, if you are doing this for something other than selection, creating any ListGrid field of type:"boolean" will cause checkboxes to be shown, and they can be toggled without enabling full edit mode if you set canEdit:true.

    If you have some other purpose in mind, please clarify.

    Comment


      #3
      Thanks for your prompt response. We are using the checkboxes for selection, but business wants it to appear to the right as opposed to left. Could you please advise what is the best way to achieve this?
      Also if we used, ListGrid field of type:"boolean", would be able to have "Select All" option at the top?
      Last edited by nayyer.kamran; 13 Jan 2015, 03:35.

      Comment


        #4
        We don't currently support relocating the checkbox column used for selection (except for RTL, as previously noted) because this is not what users expect based on the behavior of other common applications.

        You can create a field of type:"boolean" as the last field and add event handlers to manipulate the selection as rows are checked and unchecked, but frankly the best course of action is probably to go back to the business side and tell them that this non-standard interface is going to cause a lot of unnecessary effort and probably be considered inferior by end users.

        Comment

        Working...
        X