Thanks for the follow-up. I guess you mean multi-column headers, e.g. a column can have one header and two subheaders? This is still not supported but is a good idea and we might consider it in the future. We cannot give you an exact time estimate, though.
Currently grouping is not supported, but it will probably be the top feature (along with Excel export) for the next versions of the product. There is a poll in the blog home-page with “Which Feature Do You Need” question – you can vote there for your favourite feature.
Regards,
Rumen Stankov
One way to do it is to pass the selected rows as a javascript array, and then hook the gridComplete event, where you can set selected rows based on the values in the array, e.g. something along the lines of
jQuery('#JQGridID').setGridParam( {gridComplete: function()
Hello,
From what I can infer, you want to have a read-only parent grid, and when you expand one of its rows with the plus sign (“+”) you want to see details for that row in editable mode and edit the respective row?
This could be possible, but it will require a bit of custom coding. We have one similar example online (it uses our ASP.NET component, but same principles apply for any platform) –
You can fix this by modifying the .ui-datepicker css class in your ThemeRoller theme (e.g.
It's possible and there is a good article for that here:
(it's in russian, but the code snippets are readable and easy to follow). Basically the idea is to locate the search field and then apply the autocomplete() logic to it, e.g.
Hello,
Unfortunately there is absolutely no way to do paging without getting the total row count — how exactly would you know then how many records/pages you have and generate the proper pager data?
Still, I am not quote sure why you find the count(*) query to be slow. In fact, this is exactly how LinqDataSource does paging automatically – internally it always generates two queries — one for the row count and one for the actual records. This works quite well even for millions of rows of data.
For more information, please refer to this example (1,000,000 rows with custom SQL)
http://www.trirand.net/examples/loading_data/million_sql/default.aspx
and you can check out the performance section of the jqGrid help here:
How about the approach shown here:
It is definitely possible to do that, just make sure the path is correct. The file will assume relative path, whereas if you want a root relative link, you will need to place a slash in front of it, e.g.
url:'/partytime.JSON.asp',
I am not sure I understand the scenario. What is the problem if the picture is in a directory on the server?
Hello,
Yes, the problem is that once a scrollbar is shown, it takes some space off the grid. By default this space is 18px. So the solution is to always have 18px reserved for that – this is controlled by the scrollOfset option, e.g.
In this case the best idea is to form the HTML of the image tag directly, instead of using formatters (and I believe there is no image formatter currently yet).
So just form the image tag, e.g.
”“
It really depends on what you are trying to achieve. As far as forms go, jqGrid has the ability to provide layout for the controls on the form – please take a look at this help link
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:common_rules
and especially the documentation about rowpos/colpos – etc. They can be used to customize the form.
You can also create custom form edit element – check out this demo
http://trirand.com/jqgrid/jqgrid.html
and new in 3.6 -> Create Custom Input Element example.
Hello,
There is a similar forum topic on this here:
Basically the idea is to make sure all your data and HTML pages come in UTF-8 format. This way the grid will be able to display the data correctly. This may include setting the response to:
|
1 |
<span class="tag"><meta</span><span class="pln"> </span><span class="atn">http-equiv</span><span class="pun">=</span><span class="atv">"Content-Type"</span><span class="pln"> </span><span class="atn">content</span><span class="pun">=</span><span class="atv">"text/html;charset=utf-8"</span><span class="tag">/></span> |
|
1 |
<span style="font-family: monospace"><br /></span> |
|
1 |
<span style="font-family: monospace">I have one question - we seem to be missing Chinese localization in our install package, can</span> |
|
1 |
<span style="font-family: monospace">you please send us you Chinese localization of the grid locales? (mail to rumen.stankov at trirand dot net)</span> |
|
1 |
<span style="font-family: monospace"><br /></span> |
|
1 |
<span style="font-family: monospace">Thanks a lot.</span> |
|
1 |
<span style="font-family: monospace"><br /></span> |
|
1 |
<span style="font-family: monospace">Kind Regards,</span> |
|
1 |
<span style="font-family: monospace">Rumen</span> |
|
1 |
<span style="font-family: monospace">Trirand Inc</span> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top