Forum


09:27

16/02/2009

Hey!
First of all, thank you for jqGrid, it's excellent 🙂
I searched the forums for "footnote" but couldn't find anything. This might be either a feature request, discussion, help of whatever..
Bottom line is that I'd like to add footnotes to cells in my grid. Has anyone thought about this already? If nobody has solved it, do you have any suggestions? I could of course add another column to hold the footnotes, but it doesn't look too good and it wouldn't work exactly how I'd want either..
I hope someone takes time to share their view on this 🙂
07:31

16/02/2009

Nobody has an opinion on this? 🙂
Guess I'll try to solve it using another column, and align them towards each other.. this will do, but brings me to another question:
Am I able to colspan the header but not the columns under it? Meaning I want a header "Location", with two columns under it, one with name and one with the footnotes..
01:55

16/02/2009

Yeah, but I want them visible at all times. Nothing fancy needed though, and as long as I can add an event to clicking it, it doesn't have to be editable in the cell either... just display the foot note symbols lik "a,b" as superscript characters after the cell's actual content.
I guess I will have to try a workaround using another cell or something.. not quite sure about this one..
08:20

16/02/2009

Yeah, but you see I don't want the text up there, only the "a". The text itself will be below the grid, only the foot note symbol should be in the cell.
Example:
<table><tr><td>CellContent (a)</td></tr></table>
<p>(a): this cell's content should be taken with a grain of salt</p>
So what I want, is that when I click the cell, I want to edit the text "CellContent". When I click the "(a)" I can create an event to edit the foot note text if I'd want that. The foot note text is written in the paragraph below the table.
To be concrete, I'm creating a time table and there will be, e.g., "11:00" in such a cell. There are exceptions to this time (e.g., holiday), and that's what the footnote will show. It could say "but 11:30 on holidays"..
I agree that using two cells probably is the best option here. I'll most likely put "CellContent" and "(a)" in two different, and align CellContent right and (a) left, making them sit close 🙂 Then I'd prefer having only one header for them, though, which was another question I raised.
Thanks for your inputs, they help me get closer to a solution! 🙂
13:55

16/02/2009

FYI I'm solving this using two spans in the cell, one for the content, and one for the footnotes. I have an beforeEditCell event dealing with this when editing. Using rightMouseUp to edit footnotes, writing to the other span.. this way I have two types of content in the same cell, editing one with left click, the other with right click (a dialog box where you can create new foot notes, reuse old ones etc).
Most Users Ever Online: 715
Currently Online:
56 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66