bogdanm

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 29 total)
  • Author
    Replies
  • in reply to: How to allow empty date field? #128016
    bogdanm
    Participant

    <p>I think you’re right, it’s not the new jqGrid, but a new version of MySQL (MariaDB actually) that is not working as before. I ended up creating two columns for each one that was of type date that I needed to accept nothing being entered and also displaying an empty field if ‘0000-00-00’ was in the database, but one hidden and editable and the other visible and not editable.</p>

    <p> </p>

    in reply to: Conditional formatting of cells #128007
    bogdanm
    Participant

    <p>Here’s a picture that shows the code better:</p><p>https://i.imgur.com/49j44Xy.png</p>

    in reply to: How to apply formatters to summary rows? #128004
    bogdanm
    Participant

    Thank you. It worked.

    in reply to: $defvals array present in dropdown options in new version #127996
    bogdanm
    Participant

    <p>Am I doing something wrong when posting? All the HTML tags show up.</p>

    in reply to: Upgrading from an older version? #127993
    bogdanm
    Participant

    <p>Thank you for the answer. I have purchased a new license of SuitoPHP with subscription and have received the automated email with the download link for version 5.5.5. In your message you mentioned version 5.7. Is that not out yet, or in beta?</p>

    in reply to: How do I limit the footer formatting to a single grid? #127277
    bogdanm
    Participant

    Thank you. It worked!
    Thread can be marked as SOLVED and closed.

    in reply to: Format row background color based on column value #126876
    bogdanm
    Participant

    Thank you very very very much!

    It worked with the <style> in the <html> section.

    in reply to: Format row background color based on column value #126859
    bogdanm
    Participant

    Thank you for the code. It kind-of works, but not for the property I need. The class gets applied to the correct rows, but the style attribute I wanted to change is the background color, and it doesn’t apply.

    Here is what Firefox’s Inspector shows:

    https://i.imgur.com/cWxSetn.png

    If I use ‘color’ instead of ‘background-color’, the text color does change, but I needed the background to change, not the text. I added !important but it didn’t help.

    I think it gets overridden by that .ui.widget-content class. Is it possible to have the backgroud-color apply without modifying the jqGrid css?

    in reply to: How to use rowid in script after successful Add/Edit (form) #126585
    bogdanm
    Participant

    Thank you.

    At first it didn’t work but I dug deeper into the parameters and figured out what I was doing wrong.

    Here’s my code, in case someone else is trying to do the same thing and finds this thread:

    in reply to: Excel export limited to 1000 rows #125763
    bogdanm
    Participant

    Thank you for the solution.
    Thread can be closed.

    in reply to: Is it possible to run a custom SQL command to set variables? #125691
    bogdanm
    Participant

    I’m thinking there is a third option:
    3. Instead of assigning a long statement to a variable in SQL, use those statements as the first SELECT elements and then reference them in the same SELECT. Those columns can be set as hidden and not editable.

    I’m wondering which would be better from a performance point of view. The first solution would require PHP to query the SQL, which has some overhead. The third would have jqGrid handle the extra columns to be hidden.

    in reply to: How do I update the summaryrow after inline editing? #125611
    bogdanm
    Participant

    I tried the code above and I think it’s missing something. When I double-click on a row the editing starts but there’s no way to end it (either by a save or by a cancel). The buttons for ‘save row’ and ‘cancel row editing’ do not become active, and pressing Enter does not do anything.

    in reply to: How do I update the summaryrow after inline editing? #125608
    bogdanm
    Participant

    OK, you mean something like this?

    Do I need to use setNavEvent to run this function?
    I’m sorry my javascript skills are zero 🙁

    bogdanm
    Participant

    Here is the relevant code:

    The cells in this column look as intended, but the sums are black and have the default formatting (no spaces as thousands separator and has dot as decimal separator).

    bogdanm
    Participant

    I forgot to mention that the summary is not displayed correctly only when using:

    If I don’t use grouping in setGridOptions, the summaries are formatted correctly if used like this:

Viewing 15 replies - 1 through 15 (of 29 total)

Stay connected with us in your favorite flavor!