MVCGrid.Net
MVCGrid.Net copied to clipboard
Column width setting
Hello, I would like to set column width in the grid. But I think, it is not possible. Oh no!!!
Currently there is no setting for width. I should be able to add this pretty easily.
Did you ever add the capability to set column width? Thanks in advance.
I would really like to set column width.
Also any way to display an image in a cell?
This is the only thing stopping me from using this grid. Did you ever add this feature? It is a fairly critical feature to leave out. Thanks
After I got no reply on this in October, I bit the bullet and learned WebGrid, which is basically the default Grid app for MVC. I hoped to use MVCGrid to speed up dev but although it works in the examples given was difficult to customise it to how I wanted, e.g Column Width etc. So I suggest you use WebGrid. Heaps of examples to work from, and I could find solutions to all my requirements, which in some instances were weird. You can set the column widths, heights, borders, margins etc at will.
@PorkiePie That sounds great. I'm assuming it isn't all that much brain damage to get paging/re-arranging/exporting/etc with WebGrid?
Paging - I used PageList but they all work the same way so any paging package should be good. Not sure about exporting. The two big benefits of using WebGrid are that someone else will have done it and posted the solution on stackoverflow, and also it uses the basic MVC so all the Bootstrap design features (and paging!) carry through as expected, or can simply be modified in the header with styles.
This is the grid I developed - not sure how it will come out:
table column width would be very useful.
@joeharrison714 Hi Joe, Can you show me how to add a setting or config to set a specific column width? I really need it