Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

ShowSortMark dosn't work with joined header rows

Hi,

I can't display SortMark on joined header rows.

            TElHeaderSection *pTElHeaderSection;

            ElXTree->HeaderSections->Clear();
            ElXTree->HeaderRowCount = 3;
            ElXTree->Header->RowHeight = 19;
            ElXTree->Header->LockHeight = true;
            //ElXTree->Header->Rows[0]->Height = 3*19;
            //ElXTree->Header->Rows[1]->Height = 19;
            ElXTree->Header->WrapCaptions = false;
            ElXTree->Header->MultiSort = true;

            pTElHeaderSection = ElXTree->HeaderSections->AddSection();
            pTElHeaderSection->Text = "Data";
            pTElHeaderSection->Width = 120;
            pTElHeaderSection->Alignment = hsaLeft;
            pTElHeaderSection->FieldType = sftDateTime;
            pTElHeaderSection->FieldName = fnFieldNameToString(fnData);
            ElXTree->Header->Rows[0]->Cell[pTElHeaderSection->Index]->Join(ElXTree->HeaderRowCount,1);
            pTElHeaderSection->ShowSortMark = true;

After click sorting is working but sort mark is missing.

image



Comments

Sign In or Register to comment.