Kufuta Button juu InfoPath Kurudia Jedwali 2010

Hii ni aina ya ombi la kawaida kutoka kwa mteja kuwa na aina ya kifungo ndogo delete au picha katika kila kufuta.

Sikuweza kupata njia yoyote ya kutumia Kanuni kufuta safu. Mstari mmoja C # code bila kufanya hila J

 

Kuongeza Button na Bonyeza “Hariri Fomu Code” katika Button Mali.

 


umma
utupu DeleteRow_Clicked(kitu kutuma, ClickedEventArgs e)

{


// Kuandika code yako hapa.

e.Source.DeleteSelf();

}

 

 

Wakati kufuta chanzo kwa kifungo, ni deletes node ya sasa katika DOM, nodi ina safu nzima.

 

Shusha Fomu sampuli na code hapa.

 

2 comments to Delete Button on Repeating Table InfoPath 2010

  • […] a quick bit of code I found on Uday’s mstechblog site that makes it a bit easier for your users to remove a row in a repeating table. Instead of […]

  • Neha

    If i have two repeating table in a section and each row has a delete button with same id for both repeating table then what should i do to delete the same row from both repeating tables with a single click…if i’m trying your above suggestion then it only deletes the row from one repeating table,not from both..

    Plz provide your valuable suggestions…its urgent..

BBC

Unaweza kutumia haya HTML

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>