Hi Syncfusion Team,
The requirement is, the drag icon for rearranging the grid rows should be hidden. As in attached image, the drag icon should not be visible in UI, while using drag and drop feature for rearranging the grid rows. How to achieve this?
Thanks,
Bhagyasri
|
<style>
.e-grid .e-icon-rowdragicon{
display: none;
}
</style>
|
Hi Rajapandi Ravi,
Thank you for your reply.
How can we hide the entire reorder option column not only the drag icon. It should not allow reorder option column to be visible. How can we achieve this?
Thanks,
Bhagyasri.
|
gridInstance.disableRowDD(true); //invoke this method to remove the drag and drop icon column
|
Hi Rajapandi Ravi,
Thank you for the reply.
After hiding of drag icon still the reorder column is taking the same width/space, is there any way we can reduce the drag and drop icon column width, without removing that column, so that it can take less space at front.
I have attached screenshot below for reference. As mentioned, how to reduce the width of drag and drop icon column. Could you let me know how to achieve this?
Thanks,
Bhagyasri.
Hi Rajapandi Ravi,
Thank you for your reply.
our requirement is the rows that are selected in grid should be moved to top and on deselection they should rearrange automatically to bottom.
we are using RowDDService for reorder of grid rows on selection and deselection respectively, so that reorderRows() method is working only after enabling of drag and drop feature.
So our requirement is whether we could hide that drag icon and reduce that drag and drop icon column width, our requirement is not to remove that column only just reducing the column width and hiding the drag icon. So that drag and drop column would take less space at front after hiding of drag icon.
Could you also let me know, if we can reorder the rows in grid to top on selection and can be moved to bottom on deselection, without enabling drag and drop feature.
Thanks,
Bhagyasri.
|
.e-grid .e-gridheader .e-rowdragheader {
display: none;
}
.e-grid .e-gridcontent .e-rowdragdrop.e-rowdragdropcell {
display: none;
}
.e-drag-intent {
display: none;
}
|