TableGetSortSpecs
Definition
-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:948
function M.TableGetSortSpecs() return imgui.TableGetSortSpecs() end
Callers
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartList.lua
local specs = im.TableGetSortSpecs()
if specs and (specs.SpecsDirty or partsSortingDirty) then
@/lua/ge/extensions/editor/gen/lib/ui.lua
lo('?? hCLICK:')
if im.TableGetSortSpecs().SpecsDirty then
local ind = im.TableGetColumnIndex()
local ind = im.TableGetColumnIndex()
lo('?? ci:'..tostring(ind)..':'..tostring(im.TableGetSortSpecs().Specs.SortDirection))
-- table.sort(data, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
lo('?? ci:'..tostring(ind)..':'..tostring(im.TableGetSortSpecs().Specs.SortDirection))
-- table.sort(data, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
-- lo('?? hCLICK:'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs.ColumnIndex))
-- table.sort(data, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
-- lo('?? hCLICK:'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs.ColumnIndex))
if im.TableGetSortSpecs().Specs.ColumnIndex then
-- table.sort(data, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
-- lo('?? hCLICK:'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs.ColumnIndex))
if im.TableGetSortSpecs().Specs.ColumnIndex then
-- lo('?? hCLICK:'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs.ColumnIndex))
if im.TableGetSortSpecs().Specs.ColumnIndex then
lo('?? hhcccll:')
]]
if cbsort and im.TableGetSortSpecs().SpecsDirty then
local col = im.TableGetSortSpecs().Specs[1].ColumnIndex + 1
if cbsort and im.TableGetSortSpecs().SpecsDirty then
local col = im.TableGetSortSpecs().Specs[1].ColumnIndex + 1
-- lo('?? to_SORT:'..tostring(im.TableGetSortSpecs().Specs[1].ColumnName)..':'..tostring(im.TableGetSortSpecs().Specs[1].SortDirection))
local col = im.TableGetSortSpecs().Specs[1].ColumnIndex + 1
-- lo('?? to_SORT:'..tostring(im.TableGetSortSpecs().Specs[1].ColumnName)..':'..tostring(im.TableGetSortSpecs().Specs[1].SortDirection))
if cbsort then
local col = im.TableGetSortSpecs().Specs[1].ColumnIndex + 1
-- lo('?? to_SORT:'..tostring(im.TableGetSortSpecs().Specs[1].ColumnName)..':'..tostring(im.TableGetSortSpecs().Specs[1].SortDirection))
if cbsort then
if cbsort then
cbsort(col, im.TableGetSortSpecs().Specs[1].SortDirection)
end
-- local ind = im.TableGetColumnIndex()
-- lo('?? ci:'..tostring(ind)..':'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs[1].ColumnIndex))
-- table.sort(data, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
-- local ind = im.TableGetColumnIndex()
-- lo('?? ci:'..tostring(ind)..':'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs[1].ColumnIndex))
-- table.sort(data, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
-- lo('?? ci:'..tostring(ind)..':'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs[1].ColumnIndex))
-- table.sort(data, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
-- lo('?? hCLICK:'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs.ColumnIndex))
-- table.sort(data, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
-- lo('?? hCLICK:'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs.ColumnIndex))
--[[
-- table.sort(data, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
-- lo('?? hCLICK:'..tostring(im.TableGetSortSpecs().Specs.SortDirection)..':'..tostring(im.TableGetSortSpecs().Specs.ColumnIndex))
--[[
--[[
if im.TableGetSortSpecs().Specs.ColumnIndex then
lo('?? hhcccll:')
@/lua/common/extensions/ui/imgui_custom_luaintf.lua
function M.TableSetSortSpecsDirty(dirty)
M.TableGetSortSpecs().SpecsDirty = dirty
end
@/lua/ge/extensions/editor/missionEditor/issues.lua
im.TableNextColumn()
if im.TableGetSortSpecs().SpecsDirty then
table.sort(self.issues.list, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
if im.TableGetSortSpecs().Specs.SortDirection == 1 then
table.sort(self.issues.list, getSortingFunction(im.TableGetSortSpecs().Specs.ColumnIndex))
if im.TableGetSortSpecs().Specs.SortDirection == 1 then
arrayReverse(self.issues.list)