You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@luxio The number of rows isn't available yet when building your Views Render Array object. It will be available in the row_callback, so when it's on the first row you could take action:
function my_row_callback(view, row) {
if (row._position == 0) {
$('#my-div').html(view.count);
}
}
This is a way around attaching an un-needed pageshow.
@luxio I think the title of the View may already be in the DOM at that point, so you can probably manipulate it afterwards. I've never tried that actually.
Ist possible to include the summary data (e.g. the number of rows) in a view title using the Views Render Array?
Or do I have have to manually display the view using a pageshow approach.
The text was updated successfully, but these errors were encountered: