squashbugs

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • in reply to: ExportCommand not working when setColProperty hidden=true #124545
    squashbugs
    Participant

    Hi Will,

    Thanks for the feedback.  Would the trick you mentioned above of detecting ‘excel’ and ‘csv’ – should that also for for ‘edit’ and ‘view’?   Right now when I double click a row, the ‘view window’ opens but it shows only the same data as the grid.  I want it to show all the fields in the SELECT statement, but again because the rows are hidden by setColProperty they do not show up.  Can you please let me know how to detect the ‘view’ window and  unhide the columns so they show?

    in reply to: ExportCommand not working when setColProperty hidden=true #124525
    squashbugs
    Participant

    Thank-you will, this worked perfectly and solved my questions #1 and #3, but you missed question #2.

    I need to know how to get the formatting from the grid working in the exported data file.  For example in my grid I have a column called “Total” and a value of 68.31 – but when I export the grid to file that “Total” amount shows as 68.307999999999, notice how the 2 digit decimal is no longer being applied.  How can I apply the same formatting to the exported data as I did to the grid?

    Thanks.

    in reply to: setValidationRules Documentation? #124085
    squashbugs
    Participant

    Yes please, I really need that not only for a usability standpoint for users, but also for a security standpoint too.  Why advertise your database design to potential would-be hackers.  Less they know about the database and its design / field names the better.

    I think I want to wait for the new version to come out before publishing this Grid, I dont like the idea of users seeing messages they wont understand or advertising database field names to the world.

    in reply to: Save & Load Grid State #124084
    squashbugs
    Participant

    Thank-you Will, that is great news i’ll look forward to that in a coming release.  For now i’ll not spend alot of time trying to hack this to work, i’ll just wait for the newer version to support this and implement it at that time.

    in reply to: setValidationRules Documentation? #124081
    squashbugs
    Participant

    Thank-you for this, its exactly what I was looking for.

    Can you please also tell me, is it possible to control the error message?  For example, instead of seeing an error like vc_comments is a required field, I would like to be able to control that output to be something more friendly like ‘Comments is a required field’.  Currently it puts the name of the database field as the error output which does not look very nice to the user.

    in reply to: Save & Load Grid State #124080
    squashbugs
    Participant

    Maybe this could be a good feature request then.  As we load the Grid from Ajax, the user navigates back and forth between screens which causes the Grid to need to be loaded again.  Its annoying to the user of the grid to have to re-setup all their gird preferences each time they use the grid.  Likewise writing a bunch of code each time to manage this is alot of work.

    Ideally there would be a setting like “persist_grid” => true that we could use in PHP which would handle all of this in the background.  Perhaps even allowing us to save this in a PHP session variable or a database.

    What are your thoughts on this?

    in reply to: Save & Load Grid State #124076
    squashbugs
    Participant

    Hi, thanks for this, but would that not only save right after the grid loads?  How would it keep track of other changes made while the grid is being worked with?  IE Paginating, resizing columns, re-ordering columns etc…

    Thanks for your help

    in reply to: setValidationRules Documentation? #124075
    squashbugs
    Participant

    For the parts I highlighted in bold above there is no documentation on how to use those validators.

    Example if I wanted to validate, email, integer, boolean, IP, url, date etc – how would I do that?  Need documentation on parameters and so forth.

    Thanks for the help.

Viewing 8 replies - 1 through 8 (of 8 total)

Stay connected with us in your favorite flavor!