5 Replies Latest reply on Dec 16, 2009 7:09 AM by jsfgeeks

    resize in extendedatatable

      How i can off resize property from coulmn for richextendeddatatable?
        • 1. Re: resize in extendedatatable
          ilya_shaikovsky

          it's not available via attribute but you could use

           

          extdt-hsep{
          display:none;
          }
          
          • 2. Re: resize in extendedatatable
            Thnx Ilya..its worked..
            • 3. Re: resize in extendedatatable
              jsfgeeks

              Thanks Ilya,

               

              It's working fine. But with this, the table-header, column-header, scrollbar, etc. also hides. If I just want to disable the resize or the sort option (on mouse over to the column header, the down-arrow shows), then what can I do ?

               

              I mean to say that, if I just want to hide those options which are displayed at the mouseover event of the column-header (don't want to show even that down arrow also), then what can I do ?

               

              I think I am clear now. Thanks in advance,

              JSF GEEKS

              • 4. Re: resize in extendedatatable

                To off the sort option in rich:column you have to give  <rich:column sortable="false"

                 

                To disable the context menu over column header , in rich:extendeddatatable have to give enableContextMenu="false"

                 

                Now there is no direct attribute i found to off drag and drop. But i can manage it by javascript,

                For rich:column header, the heder text i am giving 100% width and stopping onmosue over event. That a tricks that i have implementated

                 

                <f:facet name="header">
                      <h:outputText value="#{bean.header1}"
                       style="width:100%;text-align:center"
                       onmousemove="event.cancelBubble = true;return false;"
                       onmousedown="event.cancelBubble = true;return false;" />
                </f:facet>

                • 5. Re: resize in extendedatatable
                  jsfgeeks

                  Thanks Deb,

                   

                  Really nice work. I really appreciate it. Thanks for your support, and sorry to post in your discussion.

                   

                  Thanks again,

                  JSF GEEKS