javascript - Making a truly destop like table grid (how to show enough empty rows to fill the height of table grid) -


I'm really worried about the beauty aspect of my web app and this is why I was asking such a silly question I am Excuse me in advance if you think that this is not such a big deal

I am creating desktop like web app and using the jqGrid awesome plugin to show some tabular data. In desktop applications like iTunes, the table has enough blank rows to fill its dimensions. I mean if you set the table grid up to 500px in the hay and it has only one line then the table (zebra) will continue at the end of the page. It's something I need to do, but just use javascript or CSS Can not be taxed.

My first thought was that the image of the background was made in the table, which is a copy of empty rows but there are two problems for this method. First of all, this will not work if the user zooms and makes the text bigger and second, I am showing some borders between those columns which are available that make it impossible to repeat in the background image.

Has anyone ever tried to create such a table grid? Any idea how to do this?

What I'll do is just create a table container with a specific height; Give it a vertical-tiled background; Set overflow to scroll / auto ; And then put the dynamic size table inside it.

Edit: Sorry, I have not read your question carefully. Looking at your other requirements, I will just use Javascript It should not be difficult to set the minimum rows in your table, although I am not a family with jqgrid.

The second option is to use only 2 tables - one for the top, one for the top, one below for the empty rows. Each row is added to the top row, one is removed from the table below, and vice versa. You will also need to capture column-size incidents of the top table, as well as change the size of the table in the table below. But it is very beautiful.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -