Sort the existing column (for example: status) when the ColumnHeader click to grid VM

Hello

In Vsphere Webclient.

Inventory-> grid VM:

VMware provides a few existing columns, few are sortable such as name, State, etc on the click of columnHeader and few are not sortable.

Is there a way to do an existing non-sortable column to the sortable?

I wanted to do for the status"" column.

Any help or suggestions will be much appreciated.

Thanks in advance,

Mayur

If you want your newly added columns sortable, there is an example in the SDK which illustrates this.

Please, look at the example of the chassisRackVSphere-ui .

            
            
              com.vmware.samples.chassis.column.name
              
                  
                    
                    #{name}
                    
                    
                        name
                    
                    
                    name
                    
                    name
                  
              
            

The sortProperty should allow sorting. And of course your back-end service that supports. In the example, it is the chassisRackVSphere-service.

Tags: VMware

Similar Questions

Maybe you are looking for