Rumen

Forum Replies Created

Viewing 15 replies - 16 through 30 (of 67 total)
  • Author
    Replies
  • in reply to: about grouping column header #91118
    Rumen
    Participant

    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.

    in reply to: about grouping column header #91116
    Rumen
    Participant

    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

    in reply to: Set selection when data loaded #91093
    Rumen
    Participant

    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()

    in reply to: integrated subgrid edit in the edit parent form. #91067
    Rumen
    Participant

    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) –

    in reply to: addForm and Datepicker #91001
    Rumen
    Participant

    @Mark – your approach is indeed better – as usual 🙂

    @Oliver – I am pretty sure there are some datepicker widgets based on jQuery, but I personally cannot recommend one since I haven't worked with them. A google earch should get you a decent list.

    Rumen

    in reply to: addForm and Datepicker #90995
    Rumen
    Participant

    You can fix this by modifying the .ui-datepicker css class in your ThemeRoller theme (e.g.

    in reply to: jqGrid with auto complete feature in search bar. #90971
    Rumen
    Participant

    It's possible and there is a good article for that here:

    http://ow.ly/163wCH

    (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.

    in reply to: jqGrid pagination without count(*) in sql procedure. #90959
    Rumen
    Participant

    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:

    http://www.trirand.net/documentation.aspx

    in reply to: IE cannot render cell background colour #90681
    Rumen
    Participant

    How about the approach shown here:

    http://trirand.net/demo.aspx

    in reply to: url file in subfolder #90667
    Rumen
    Participant

    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',

    in reply to: populate photo from a db to a grid #90666
    Rumen
    Participant

    I am not sure I understand the scenario. What is the problem if the picture is in a directory on the server?

    in reply to: Grid Height mess grid content alignment #90647
    Rumen
    Participant

    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 reply to: populate photo from a db to a grid #90646
    Rumen
    Participant

    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.

    in reply to: Customizing Form in Modal Dialog #90645
    Rumen
    Participant

    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.

    in reply to: How to display Chinese character in the grid? #90644
    Rumen
    Participant

    Hello,

    There is a similar forum topic on this here:

    Forum

    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:

Viewing 15 replies - 16 through 30 (of 67 total)

Stay connected with us in your favorite flavor!