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
Perhaps this question is not directly related to the library, but I have a question, how to sort the contents of an array using a numeric index (int)? As in the example below. The code below is supposed to work but data[row].value() is clearly not the correct construction
jsondata=dataResult["data"];
ImGuiListClipperclipper;
clipper.Begin(data.size());
while (clipper.Step())
{
for (introw=clipper.DisplayStart; row<clipper.DisplayEnd; row++)//for (auto row = data.begin(); row != data.end(); ++row)
{
ImGui::TableNextRow();
for (intcolumn=0; column<4; column++)
{
ImGui::TableSetColumnIndex(column);
jsondataResultList=data[row].value();
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Perhaps this question is not directly related to the library, but I have a question, how to sort the contents of an array using a numeric index (int)? As in the example below. The code below is supposed to work but data[row].value() is clearly not the correct construction
Beta Was this translation helpful? Give feedback.
All reactions