Our pure JavaScript Scheduler component


Post by rupen.shah.access »

Dear Team,

Please find attached my example for my below issue.

In my scheduler example I am rendering two different type views but both are tree view type. I want to change the heading and placeholder of search text box in resource section at runtime.

Header text getting changed but search text box place holder isn't updating. Also when I search with the keyword which does not return data, does not show empty text like 'No records to display'.

Can you please help me to resolve the issue or any alternate solution to achieve this.

Look forward to receive your reply.

Thanks
Rupen

Attachments
24052023.zip
(3.48 KiB) Downloaded 22 times

Post by marcio »

Hey Rupen,

There are some errors/warning that are appearing in the console.

shiftUnit: "minutes",

should be

shiftUnit: "minute",

The column configuration should have the proper type

const [colmunforview, setcolmunforview] = useState<Partial<GridColumnConfig>[]>([
    {
      type: "tree",
      id: "name",
      text: "Name",
      field: "name",
      width: 130,
      filterable: {
        filterField: {
          type: "text",
          value: "",
          placeholder: "Search by Resource",
        },
      }
    }
  ]);

Also, isn't related to the behavior that you described, but if you check the console you'll see that the features shouldn't be described like that in React components, and there is a link to check how to fix that, please check it and update to the right way.

I created a ticket to check more deeply that input placeholder behavior and fix if needed https://github.com/bryntum/support/issues/6844

Best regards,
Márcio


Post by rupen.shah.access »

Respected Team,

Thank your for your comment.

I would appreciate if this will be consider as a high priority.

When we search the text and empty text is not showing, can you please give the comment on that?

Look forward to receive your reply.

Thanks
Rupen


Post by mats »

Issue is now fixed.

When we search the text and empty text is not showing, can you please give the comment on that?

Please start a new thread for the 2nd issue.


Post by rupen.shah.access »

Respected Sir/Madam,

Is that resolved in latest version?

Thanks
Rupen


Post by alex.l »

Hi Rupen,

It will be released with nearest patch release. Or you can download Nightly Build from CustomerZone next day after the issue mentioned above will get Resolved status.

All the best,
Alex


Post by rupen.shah.access »

Respected Team,

Another issue which I am facing is, filter is working find but When I click on the button I want to show data and filter should removed. Basically clear out the filter.

Could you please help me how I can resolve the same issue.

Thanks
Rupen


Post by alex.l »

Hi Rupen,

Yes, sure! As Mats said, please open a new thread for that one. The rule of our forum is: one thread - one question.
If you are only about clear filters, there is https://bryntum.com/products/scheduler/docs/api/Core/data/Store#function-clearFilters method available for all stores.

All the best,
Alex


Post by rupen.shah.access »

Dear Team,

Empty text still isn't showing. I have upgrade my scheduler version to 5.3.6.

Can you please guide me how I can test this if this has been already resolved.

Issue was originally raised and updated from your end at below link.
viewtopic.php?p=124799#p124799

Thanks
Rupen


Post by alex.l »

Hi Rupen,

Let's continue conversation in the topic you mentioned above.

All the best,
Alex


Post Reply