fooplugins / FooTable

jQuery plugin to make HTML tables responsive
https://fooplugins.com/plugins/footable-jquery/
Other
2.13k stars 640 forks source link

footable bug in rowupdating event #898

Open seannctu opened 10 months ago

seannctu commented 10 months ago

hi all, when I am in rowupdating event and get the object from templatefield, some of the textbox should be x but it show me x,x and dropdownlist it refresh with old value. Anyone face the same issue like me?

` Private Sub Search_GridView_RowUpdating(sender As Object, e As GridViewUpdateEventArgs) Handles Search_GridView.RowUpdating Dim row = Search_GridView.Rows(e.RowIndex)

    Dim accountdate, payflow, member, ID As String

    accountdate = CType(row.Cells(0).Controls(0), TextBox).Text
    payflow = CType(row.FindControl("DDLPayFlow"), DropDownList).SelectedItem.Value
    member = CType(row.FindControl("DDLMember"), DropDownList).SelectedItem.Value
    ID = CType(row.Cells(12).Controls(0), TextBox).Text
End Sub

`

seannctu commented 10 months ago

I found it all the textbox/dropdownlist act abnormal are all set to "phone", others are all act correct.

Search_GridView.HeaderRow.Cells(i).Attributes("data-hide") = "phone"