Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
Edit Row Template
posted

Hello, I'm currently using the editrowtemplate of the webgrids, but I'm finding a problem centering my edition form on top of the row, what I'm trying to acomplish is a edit form similar to the row of the grid just putting the controls on top of the correspondent fields, for example the first field should be a dropdownlist, I want this dropdownlist to "hide" the field below while the user edits, is there anyway of doing this directly without doing trial and error design?

 

Thank you,

Cláudio Correia

Parents
No Data
Reply
  • 28464
    posted

    Hello Claudio,

    Just a quick suggestion, hope it works for you. Maybe you can use CSS and position:relative to offet the template up, e.g.

    <RowEditTemplate>

          <div>

              <div style="position:relative; top: -20px" >

                  // here actual row editing content

              </div>

          </div>

    </RowEditTemplate>

    Will that work in your scenario? Or maybe using position:absolute and fixed top / left coords?

Children
No Data