jQWidgets Forums

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • in reply to: Multiple aggregates in a grid Multiple aggregates in a grid #58625

    Ridbark
    Participant

    Hi Peter,

    I have succeed to print aggregates like i want.
    But, there are one problem now : my grid is set to 100% of the window width. I have too many columns, so there are an horizontal scrollbar.
    When I display my grid and i go to the right of my grid (with the scrollbar), the aggregates is not displayed … and i don’t know why! Can you explain to me?

    Best regards,
    Ridbark

    in reply to: CellEndEdit and newvalue CellEndEdit and newvalue #58369

    Ridbark
    Participant

    Hi Peter,

    I know the purpose of the validation function, and it’s not what i need …
    I need a function to modify the cell value at the end of the cell edit! But “cellendedit” doesn’t accept to change the value of the cell!
    So what event can i implement to change in javascript the value of the cell, and so to evaluate “=500+37” and write “537” in the cell ?

    Best regards,
    Ridbark

    in reply to: CellEndEdit and newvalue CellEndEdit and newvalue #58362

    Ridbark
    Participant

    Hi Peter,

    I saw this function, “validation”, but if the value is not correct, can i change it and return the new value?
    I see that validation function return only “true” or “false”, to say if the value is correct or not … it also can return a message, so it’s interesting when the value is wrong, like “537,” instead of “537”, but not if it’s “=500+37” !

    Best regards,
    Ridbark

    in reply to: Column title with button Column title with button #58013

    Ridbark
    Participant

    Hello,

    For information, i found a solution : you put into the “text” attribute of a column this : ‘<button type=”button” class=”button_column_grid” id=”….”>your_text</button>’ instead of ‘your_text’.
    In the JavaScript, you add this code : ‘$(‘.button_column_grid’).on(‘click’, function(e) {…});’
    And that’s it!

    Ridbark

    in reply to: Column title with button Column title with button #57858

    Ridbark
    Participant

    Hello Peter,

    It’s not really what i need.
    I create a JSFiddle to illustrate what i need (without the button in column title) : http://jsfiddle.net/cocoRid/7vY2s/
    I need to put a button in the column title “Group 1”, “Group 2”, “First” and “Second”, with the possibility to modify the event “onclick”.
    Is it possible to do that with the jqxGrid element or by getting each column with jQuery and add a button myself?

    Best regards,
    Ridbark

    in reply to: chart minValue wrong chart minValue wrong #55413

    Ridbark
    Participant

    Hi Peter,

    Usually, when i asked something on this forum, i create a JSFiddle on the second post, because if my problem can be solve without, i save time! 😛

    So :

    • JQuery Version : 2.1.0
    • jQWidget version : 3.3.0
    • Device type : PC
    • Browser : Google Chrome
    • Browser version : 23.0.1271.95

    JSFiddle to demonstrate my problem : http://jsfiddle.net/cocoRid/dR5PY/.
    Into my JSFiddle, i create one serie of type “area” and an other with type “stackedarea”. In the area serie, the minValue is take into account, but in the stackedarea serie, the minValue is not taken into account! Why? (you can try with other type : all “stacked” type have the same problem)

    Best regards,
    Ridbark

    in reply to: Chart not loading Chart not loading #54794

    Ridbark
    Participant

    Hi Ivan,

    Thank you for you quick answer!
    Okay for the click on line series!
    The chart display the 200+ lines on the same chart, but without the legend. So, is there a way to got this legend (i already have the sources, of course, but colors of each lines … no :-/)? If it’s possible, i will not have to choose colors by myself! If it’s not possible … well, i will choose colors by myself for each series and i will display legend in an other part of my page!

    Best regards,
    Ridbark

    in reply to: Chart not loading Chart not loading #54792

    Ridbark
    Participant

    Hello,

    I imagine that you do not have any idea to fix this bug?

    I have an other problem … when i have 2 series groups of almost 100 series in each of them, the chart bug and nothing is display!
    But, when i remove the legend => the data are displayed … so, is there a way to display chart in first and then try to display the legend (if there are no legend because of to much data, it’s not a big problem!) ? When i display the chart in first with option “legend : false” and then i want to display the legend (by calling to the method “jqxChart({showLegend : true})”) but the chart is entirely reloaded and … nothing is displayed after that!
    Can you tell me if i can have all source with the colors and display the legend myself, in an other part of my page?

    Best regards,
    Ridbark

    in reply to: Chart not loading Chart not loading #54692

    Ridbark
    Participant

    I also need to know why the “click” event works on type bar graph, but not when i click on a point of a type line graph or area?

    Best Regards,
    Ridbark

    in reply to: Chart not loading Chart not loading #54691

    Ridbark
    Participant

    Hello Ivan,

    Thanks to the JSFiddle that i make, i understand the difference between many seriesGroups and many series! And i need many series, not many seriesGroups.

    But like you can see in this example, i want line series, but there are only points! And i need to have the line between each 2 points (if there are 2 points of course, because for the “name15_lastname15”, there are only one point). Why did it not have lines display? (same problem with the “area” type …).

    BEst Regards,
    Ridbark


    Ridbark
    Participant

    Hi Peter,

    Allright, i change my code to correct this bug, it’s ugly but it works …

    If by telling ‘ It would be also good to report things only which are actual and valid for current version, because this post seems to be not valid for it ‘ you refer to the version of my jqwidget, i have the version 3.2.1 so, indead, it’s not the last one! But i check in the code of the newer version (without changing him of course, don’t worry) and the bug (for this special case) is, apparently, not corrected.

    Thank you for your quick answer, like always! 🙂

    Best regards,
    Ridbark

    in reply to: Cell edit Cell edit #54101

    Ridbark
    Participant

    Hi Peter,

    Thank you for your quick answer, it was really helpful!

    Best Regards,
    Ridbark


    Ridbark
    Participant

    Hi Peter,

    Thank you for the dropdownlist!
    I find myself for the buttons problem. In the click function :

    if(!this.disabled) {
      $('#jqxgrid').jqxGrid('gotoprevpage');  // or 'gotonextpage'
    }

    Best regards,
    Ridbark


    Ridbark
    Participant

    Yes yes, i’m sorry, i have not given the good link! This is the good link : jSFiddle.

    Best regards,
    Ridbark


    Ridbark
    Participant

    Hi Peter,

    I try to create my own custom pager, with dropdownlist to choose the number of row on each pages, and 2 buttons to change the page.
    But, there are two problems :

    • When i click on an element of the dropdownlist, the pagesize of the grid change well, but the display of the dropdownlist doesn’t change, even if it’s the good selecteditem that i take in the “close” event of the dropdownlist! Why? (if i remove the line, in my code, to change the pagesize of the grid, there is no any problem with the dropdownlist, but the pagesize of the grid doesn’t change, so it’s useless)
    • When one button is disabled in appearance, he always works in reality! Even if the button is set to “disabled = true”, we can click on it and change the page! Why?

    Can you help me on this two issues plz? I create a jSFiddle to show you this 2 bugs.

    Best regards,
    Ridbark

Viewing 15 posts - 1 through 15 (of 23 total)