No announcement yet.

Refresh grid with where condition

  • Filter
  • Time
  • Show
Clear All
new posts

  • Refresh grid with where condition

    Hi to everybody,
    I need to create a button that duplicate a row. So I created a new column with html image and i created an ajax event on that field. I duplicated the row but i can't refresh the grid because the macro sc_ajax_refresh() doesn't work.
    I tried to create a php app for the duplicate script but when i use the redir macro i lose all where condition.
    How can i solve that? Have you got any ideas?

    Thanks you all!

  • #2
    Ok, confused a little, you have a grid that has where built into the sql or from doing a search?
    if its built into the sql it should come right back up on the redirect to the same app with the new record added if you did a commit.

    my 2 cents