joeharrison714 / MVCGrid.Net

http://mvcgrid.net
MIT License
74 stars 55 forks source link

Column width setting #37

Open nonesak opened 8 years ago

nonesak commented 8 years ago

Hello, I would like to set column width in the grid. But I think, it is not possible. Oh no!!!

joeharrison714 commented 8 years ago

Currently there is no setting for width. I should be able to add this pretty easily.

shaistasohail commented 7 years ago

Did you ever add the capability to set column width? Thanks in advance.

PorkiePie commented 7 years ago

I would really like to set column width.

Also any way to display an image in a cell?

jimtym commented 7 years ago

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

PorkiePie commented 7 years ago

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.

RichieRunner commented 7 years ago

@PorkiePie That sounds great. I'm assuming it isn't all that much brain damage to get paging/re-arranging/exporting/etc with WebGrid?

PorkiePie commented 7 years ago

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: image

bdaut commented 7 years ago

table column width would be very useful.

tqduy commented 6 years ago

@joeharrison714 Hi Joe, Can you show me how to add a setting or config to set a specific column width? I really need it